summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-01-18 19:58:49 +0000
committerJim Grosbach <grosbach@apple.com>2010-01-18 19:58:49 +0000
commit8546ec9c1466c507dd2fc376cd2d21dd3e5c0983 (patch)
treee05b7db23b79eaac3e832d62d8dfff574c8ed68d /llvm/lib/Target/ARM/ARMISelLowering.h
parent696cb8d410a95ee2b08bac2fa87525f48fac11b7 (diff)
downloadbcm5719-llvm-8546ec9c1466c507dd2fc376cd2d21dd3e5c0983.tar.gz
bcm5719-llvm-8546ec9c1466c507dd2fc376cd2d21dd3e5c0983.zip
Patch by David Conrad:
"On ARMv6T2 this turns cttz into rbit, clz instead of the 4 instruction sequence it is now." llvm-svn: 93758
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--llvm/lib/Target/ARM/ARMISelLowering.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.h b/llvm/lib/Target/ARM/ARMISelLowering.h
index e1b3348c261..cd9c027743a 100644
--- a/llvm/lib/Target/ARM/ARMISelLowering.h
+++ b/llvm/lib/Target/ARM/ARMISelLowering.h
@@ -53,6 +53,8 @@ namespace llvm {
CMOV, // ARM conditional move instructions.
CNEG, // ARM conditional negate instructions.
+ RBIT, // ARM bitreverse instruction
+
FTOSI, // FP to sint within a FP register.
FTOUI, // FP to uint within a FP register.
SITOF, // sint to FP within a FP register.
OpenPOWER on IntegriCloud