summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitbdd6405f29ddf975fca9b1cd9bd0121470c427d5 (patch)
tree2f6d37eb42932168667ca122aaf743277ca32c6b /llvm/lib/Target/X86/X86RegisterInfo.h
parent31f595f5efc27b73f4a873c2f299c9181573f917 (diff)
downloadbcm5719-llvm-bdd6405f29ddf975fca9b1cd9bd0121470c427d5.tar.gz
bcm5719-llvm-bdd6405f29ddf975fca9b1cd9bd0121470c427d5.zip
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. llvm-svn: 97354
Diffstat (limited to 'llvm/lib/Target/X86/X86RegisterInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86RegisterInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.h b/llvm/lib/Target/X86/X86RegisterInfo.h
index 8fb5e9258be..e4bdb4e4c21 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.h
+++ b/llvm/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
};
}
OpenPOWER on IntegriCloud