summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86RegisterInfo.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-28 00:17:42 +0000
committerDan Gohman <gohman@apple.com>2010-02-28 00:17:42 +0000
commit874cadaf210d4ab05eadc64a41228df0f5078eb7 (patch)
tree00c3d4fa65c1aea5a268c5b5721c23c5cb77ede8 /lib/Target/X86/X86RegisterInfo.h
parenta363a9b71afcf326d376445f6f3cae0c36e6e9d9 (diff)
downloadllvm-874cadaf210d4ab05eadc64a41228df0f5078eb7.tar.gz
llvm-874cadaf210d4ab05eadc64a41228df0f5078eb7.tar.bz2
llvm-874cadaf210d4ab05eadc64a41228df0f5078eb7.tar.xz
Implement XMM subregs.
Extracting the low element of a vector is now done with EXTRACT_SUBREG, and the zero-extension performed by load movss is now modeled with SUBREG_TO_REG, and so on. Register-to-register movss and movsd are no longer considered copies; they are two-address instructions which insert a scalar into a vector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97354 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86RegisterInfo.h')
-rw-r--r--lib/Target/X86/X86RegisterInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/X86/X86RegisterInfo.h b/lib/Target/X86/X86RegisterInfo.h
index 8fb5e9258b..e4bdb4e4c2 100644
--- a/lib/Target/X86/X86RegisterInfo.h
+++ b/lib/Target/X86/X86RegisterInfo.h
@@ -35,7 +35,8 @@ namespace X86 {
/// these indices must be kept in sync with the class indices in the
/// X86RegisterInfo.td file.
enum SubregIndex {
- SUBREG_8BIT = 1, SUBREG_8BIT_HI = 2, SUBREG_16BIT = 3, SUBREG_32BIT = 4
+ SUBREG_8BIT = 1, SUBREG_8BIT_HI = 2, SUBREG_16BIT = 3, SUBREG_32BIT = 4,
+ SUBREG_SS = 1, SUBREG_SD = 2, SUBREG_XMM = 3
};
}