SPARC v9 stack pointer bias.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 6 Apr 2013 21:38:57 +0000 (21:38 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Sat, 6 Apr 2013 21:38:57 +0000 (21:38 +0000)
commit2b9355f2d9888d6a011353610b9ca24818de59a2
treeaf847b3485ed4b093960a3c4fe8101dd46a2875e
parent839b9096538f790a2bb060547df24703807cb83b
SPARC v9 stack pointer bias.

64-bit SPARC v9 processes use biased stack and frame pointers, so the
current function's stack frame is located at %sp+BIAS .. %fp+BIAS where
BIAS = 2047.

This makes more local variables directly accessible via [%fp+simm13]
addressing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178965 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcRegisterInfo.cpp
lib/Target/Sparc/SparcSubtarget.h
test/CodeGen/SPARC/64abi.ll