diff options
author | Yue Du <daviddu@us.ibm.com> | 2017-01-11 23:37:55 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-02-25 06:14:23 -0500 |
commit | d87654110e56582804fa5b8e5a20ad198b3665f0 (patch) | |
tree | a3bb649561701e8ddaaa11e091fa1daefb9bceb9 /src/import/chips | |
parent | 7088a779f43b2b3c1b09be0e5fb8adcfdb805fe5 (diff) | |
download | talos-sbe-d87654110e56582804fa5b8e5a20ad198b3665f0.tar.gz talos-sbe-d87654110e56582804fa5b8e5a20ad198b3665f0.zip |
STOP: optimize size of stop images
1) optimize scom with no rc and directly inline asm(saved for 2K :D)
2) initialize all variables(doesnt really save size, just good guideline)
3) loop both cores when block is big and redundant(saved only 50B -_-)
(50b for 3 blocks, each block saves 17b, or 4 instructions)
4) improvement on history update(saved 500B more :))
5) functionalize the exit catchup routine which is identical twice
(this back fired and cost us 100B :()
6) functionalize the eval eimr override macro which is identical twice
(saved 130B :|)
7) finally the saving is about 2728B on CME
8) apply history update tech to sgpe, found bug in the tech, fixed
(but our saving is back to ~2500B)
9) clean up sgpe redundent ex branching code
(same as cme saved only about ~60B)
10) rebase
Change-Id: I3664d6a2dcab85f896a583852afde948e635bd02
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34777
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com>
Reviewed-by: AMIT KUMAR <akumar3@us.ibm.com>
Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/34811
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Diffstat (limited to 'src/import/chips')
-rwxr-xr-x | src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h index 355fae14..aac13fd2 100755 --- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h +++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_scom.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -146,6 +146,11 @@ extern inline uint32_t getscom(const uint32_t i_chiplet, const uint32_t i_addres return _getscom(i_chiplet, i_address, o_data); } +extern inline void putscom_norc(const uint32_t i_address, uint64_t i_data) +{ + PPE_STVD(i_address, i_data); +} + #ifdef __cplusplus } // extern C #endif |