diff options
author | Dale Johannesen <dalej@apple.com> | 2007-08-03 01:03:46 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-08-03 01:03:46 +0000 |
commit | 320fc8a39e17f5725f5711248e06bcb36f122687 (patch) | |
tree | 9c3020b8e874758d20de1ddb5cac4aeb635bb2c6 /include/llvm/Bitcode/LLVMBitCodes.h | |
parent | 107f54a0026cfc455252c5a79b4860ace4bbbfc1 (diff) | |
download | external_llvm-320fc8a39e17f5725f5711248e06bcb36f122687.tar.gz external_llvm-320fc8a39e17f5725f5711248e06bcb36f122687.tar.bz2 external_llvm-320fc8a39e17f5725f5711248e06bcb36f122687.zip |
Long double, part 1 of N. Support in IR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40774 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Bitcode/LLVMBitCodes.h')
-rw-r--r-- | include/llvm/Bitcode/LLVMBitCodes.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/Bitcode/LLVMBitCodes.h b/include/llvm/Bitcode/LLVMBitCodes.h index 24e6729962..f62af5e17c 100644 --- a/include/llvm/Bitcode/LLVMBitCodes.h +++ b/include/llvm/Bitcode/LLVMBitCodes.h @@ -81,7 +81,14 @@ namespace bitc { TYPE_CODE_FUNCTION = 9, // FUNCTION: [vararg, retty, paramty x N] TYPE_CODE_STRUCT = 10, // STRUCT: [ispacked, eltty x N] TYPE_CODE_ARRAY = 11, // ARRAY: [numelts, eltty] - TYPE_CODE_VECTOR = 12 // VECTOR: [numelts, eltty] + TYPE_CODE_VECTOR = 12, // VECTOR: [numelts, eltty] + + // These are not with the other floating point types because they're + // a late addition, and putting them in the right place breaks + // binary compatibility. + TYPE_CODE_X86_FP80 = 13, // X86 LONG DOUBLE + TYPE_CODE_FP128 = 14, // LONG DOUBLE (112 bit mantissa) + TYPE_CODE_PPC_FP128= 15 // PPC LONG DOUBLE (2 doubles) // Any other type code is assumed to be an unknown type. }; |