Reland - Arm64: Ensure that csp is always aligned to 16 byte values even if jssp...
authorrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 9 May 2014 12:51:52 +0000 (12:51 +0000)
committerrmcilroy@chromium.org <rmcilroy@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 9 May 2014 12:51:52 +0000 (12:51 +0000)
commit2ba3716e4a4a0932e204ed6942689fa1a48421cc
treea1ab06cbfb53419af0a7d34574a09ae169d0748f
parente82b4cdc40486a102ceb9deb50d814a029fe2428
Reland - Arm64: 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.

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 imp
 - Rename PrepareForPush and PrepareForPop to PushPreamble and PopPostamble and move PopPostabl

Original Review URL: https://codereview.chromium.org/264773004

R=ulan@chromium.org

Review URL: https://codereview.chromium.org/271543004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21221 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
15 files changed:
src/arm64/code-stubs-arm64.cc
src/arm64/cpu-arm64.cc
src/arm64/cpu-arm64.h
src/arm64/macro-assembler-arm64-inl.h
src/arm64/macro-assembler-arm64.cc
src/arm64/macro-assembler-arm64.h
src/arm64/regexp-macro-assembler-arm64.cc
src/builtins.cc
src/cpu.cc
src/cpu.h
src/flag-definitions.h
src/v8globals.h
test/cctest/test-assembler-arm64.cc
test/cctest/test-code-stubs-arm64.cc
test/cctest/test-spaces.cc