DescriptionSubzero. Buildable, non-functional TargetLoweringX8664.
This CL adds a TargetLoweringX8664 that inherits from TargetX86Base, but
other than that it does nothing to generate runnable code.
Things that need to be addressed in follow up CLs:
1) lowerCall
2) lowerArguments
3) lowerRet
4) addPrologue
5) addEpilogue
6) Native 64-bit arithmetic
7) 32- to 64-bit addressing
(7) will be particularly interesting. Pointers in Pexes are always
32-bit wide, so pexes have a de facto 32-bit address space. In
Sandboxed mode that's solved by using RZP (i.e., r15) as a base
register. For native codegen, we still need to decide what to do
-- very likely we will start targeting X32.
NOTE: This CL also
s/IceType_ForceRexW/RexTypeForceRexW/g
because I forgot to do it in the X8664 assembler cl.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4077
R=stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=453660ff4f0702f5cd95acdaf9e88196341b9cc6
Patch Set 1 #Patch Set 2 : #
Total comments: 2
Patch Set 3 : Make format #Patch Set 4 : Fixes naming bugs in IceInstX8664.h #Patch Set 5 : Fixes naming bug in IceInstX8632.h #
Total comments: 16
Patch Set 6 : Addresses comments. #Patch Set 7 : git pull #
Messages
Total messages: 8 (1 generated)
|