DescriptionArm64: Ensure that csp is always aligned to 16 byte values even if jssp is not.
Even although the Arm64 specification specifies that csp
only needs to be aligned to 16 bytes if it is dereferenced, some implementations show poor performance if csp is every set to a non-aligned value. This CL ensures that csp is always aligned to 16 byte values on these platforms and adds checks to ensure this in debug mode.
Also makes the following change:
- Enable CPU support for arm64 to enable probing of cpu implementer and cpu part.
- Add ALWAYS_ALIGN_CSP CpuFeature for Arm64 and set it based on runtime probing of the cpu implementer.
- Rename PrepareForPush and PrepareForPop to PushPreamble and PopPostamble and move PopPostable after the pop.
-
R=jacob.bramley@arm.com, ulan@chromium.org
Committed: https://code.google.com/p/v8/source/detail?r=21177
Patch Set 1 : #
Total comments: 10
Patch Set 2 : Address Jacobs comments. #Patch Set 3 : Add additional stack consistency checks. #Patch Set 4 : Only align csp on affected platforms. #
Total comments: 2
Patch Set 5 : Sync #
Messages
Total messages: 13 (0 generated)
|