diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-09-22 06:48:52 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2013-09-22 06:48:52 +0000 |
commit | 7d052f272d3f9ad0acdebf6811e29d529f70c1e1 (patch) | |
tree | 44ee51e39a3c57a8c9927963d604ba9304d759e5 /lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h | |
parent | 7d7db75a55319f1d21f0d8336744f90a81b87ac7 (diff) | |
download | external_llvm-7d052f272d3f9ad0acdebf6811e29d529f70c1e1.zip external_llvm-7d052f272d3f9ad0acdebf6811e29d529f70c1e1.tar.gz external_llvm-7d052f272d3f9ad0acdebf6811e29d529f70c1e1.tar.bz2 |
[Sparc] Add support for TLS in sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h')
-rw-r--r-- | lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h b/lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h index aac0e8d..f3caeaa 100644 --- a/lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h +++ b/lib/Target/Sparc/MCTargetDesc/SparcBaseInfo.h @@ -53,7 +53,27 @@ enum TOF { // Extract bits 41-32 of an address. // Assembler: %hm(addr) - MO_HM + MO_HM, + + // TargetFlags for Thread Local Storage. + MO_TLS_GD_HI22, + MO_TLS_GD_LO10, + MO_TLS_GD_ADD, + MO_TLS_GD_CALL, + MO_TLS_LDM_HI22, + MO_TLS_LDM_LO10, + MO_TLS_LDM_ADD, + MO_TLS_LDM_CALL, + MO_TLS_LDO_HIX22, + MO_TLS_LDO_LOX10, + MO_TLS_LDO_ADD, + MO_TLS_IE_HI22, + MO_TLS_IE_LO10, + MO_TLS_IE_LD, + MO_TLS_IE_LDX, + MO_TLS_IE_ADD, + MO_TLS_LE_HIX22, + MO_TLS_LE_LOX10 }; } // end namespace SPII |