projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
R600/SI: Add an intrinsic for S_FLBIT_I32 / V_FFBH_I32
[oota-llvm.git]
/
lib
/
Target
/
R600
/
SIInstrInfo.cpp
diff --git
a/lib/Target/R600/SIInstrInfo.cpp
b/lib/Target/R600/SIInstrInfo.cpp
index a4662643224483838f80539066dde42496a3b0a5..ea9ad71f7fbfea455a139ace1d9e12bb0e7c73d5 100644
(file)
--- a/
lib/Target/R600/SIInstrInfo.cpp
+++ b/
lib/Target/R600/SIInstrInfo.cpp
@@
-1420,6
+1420,7
@@
unsigned SIInstrInfo::getVALUOp(const MachineInstr &MI) {
case AMDGPU::S_BCNT1_I32_B32: return AMDGPU::V_BCNT_U32_B32_e64;
case AMDGPU::S_FF1_I32_B32: return AMDGPU::V_FFBL_B32_e32;
case AMDGPU::S_FLBIT_I32_B32: return AMDGPU::V_FFBH_U32_e32;
+ case AMDGPU::S_FLBIT_I32: return AMDGPU::V_FFBH_I32_e64;
}
}