diff options
| author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-30 22:46:53 +0000 |
|---|---|---|
| committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2010-03-30 22:46:53 +0000 |
| commit | dbff4e8103894f6b69f5101a700eb4e5d6d92d8d (patch) | |
| tree | af11b1c84680715c4b6ceb9b94a9668737eb4ce0 /llvm/lib/Target/X86/X86InstrInfo.h | |
| parent | df58603c2600e2ce2aeacc16d37d287524941e89 (diff) | |
| download | bcm5719-llvm-dbff4e8103894f6b69f5101a700eb4e5d6d92d8d.tar.gz bcm5719-llvm-dbff4e8103894f6b69f5101a700eb4e5d6d92d8d.zip | |
Renumber SSE execution domains for better code size.
SSEDomainFix will collapse to the domain with the lower number when it has a
choice. The SSEPackedSingle domain often has smaller instructions, so prefer
that.
llvm-svn: 99952
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index 2486d1be66b..f0bdd06cce8 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/lib/Target/X86/X86InstrInfo.h @@ -399,7 +399,7 @@ namespace X86II { GS = 2 << SegOvrShift, // Execution domain for SSE instructions in bits 22, 23. - // 0 in bits 22-23 means normal, non-SSE instruction. See SSEDomain below. + // 0 in bits 22-23 means normal, non-SSE instruction. SSEDomainShift = 22, OpcodeShift = 24, @@ -719,9 +719,6 @@ public: /// unsigned getGlobalBaseReg(MachineFunction *MF) const; - /// Some SSE instructions come in variants for three domains. - enum SSEDomain { NotSSEDomain, PackedInt, PackedSingle, PackedDouble }; - /// GetSSEDomain - Return the SSE execution domain of MI as the first element, /// and a bitmask of possible arguments to SetSSEDomain ase the second. std::pair<uint16_t, uint16_t> GetSSEDomain(const MachineInstr *MI) const; |

