Reviewers: Sven Panne,
Description:
Decouple CpuFeatures from serializer state.
Traditionally, we cross compile a snapshot iff the serializer is enabled.
This will change in the future.
Changes:
- CpuFeatures probing is done once per process, depending on whether we
cross compile.
- CpuFeatures are consolidated into the platform-independent assembler.h
as much as possible.
- FLAG_enable_<feature> will only be checked at probing time (already the
case for ARM).
- The serializer state is cached by the MacroAssembler.
- PlatformFeatureScope is no longer necessary.
- CPUFeature enum values no longer map to CPUID bit fields.
[email protected]
Please review this at https://codereview.chromium.org/285233010/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+300, -802 lines):
M src/arm/assembler-arm.h
M src/arm/assembler-arm.cc
M src/arm/assembler-arm-inl.h
M src/arm/full-codegen-arm.cc
M src/arm/macro-assembler-arm.cc
M src/arm64/assembler-arm64.h
M src/arm64/assembler-arm64.cc
M src/arm64/assembler-arm64-inl.h
D src/arm64/cpu-arm64.h
M src/arm64/cpu-arm64.cc
M src/arm64/full-codegen-arm64.cc
M src/arm64/macro-assembler-arm64.cc
M src/assembler.h
M src/assembler.cc
M src/code-stubs.h
M src/code-stubs.cc
M src/flags.h
M src/flags.cc
M src/full-codegen.cc
M src/ia32/assembler-ia32.h
M src/ia32/assembler-ia32.cc
M src/ia32/assembler-ia32-inl.h
M src/ia32/code-stubs-ia32.cc
M src/ia32/full-codegen-ia32.cc
M src/ia32/macro-assembler-ia32.cc
M src/ia32/stub-cache-ia32.cc
M src/mips/assembler-mips.h
M src/mips/assembler-mips.cc
M src/mips/assembler-mips-inl.h
M src/mips/full-codegen-mips.cc
M src/mksnapshot.cc
M src/platform.h
M src/platform-posix.cc
M src/platform-win32.cc
M src/runtime.cc
M src/v8.cc
M src/v8globals.h
M src/x64/assembler-x64.h
M src/x64/assembler-x64.cc
M src/x64/assembler-x64-inl.h
M src/x64/full-codegen-x64.cc
M src/x64/macro-assembler-x64.cc
M test/cctest/test-assembler-x64.cc
M tools/gyp/v8.gyp
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.