projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29e05fe
)
R600/SI: Add pattern for fceil.
author
Michel Danzer
<michel.daenzer@amd.com>
Fri, 22 Feb 2013 11:22:49 +0000
(11:22 +0000)
committer
Michel Danzer
<michel.daenzer@amd.com>
Fri, 22 Feb 2013 11:22:49 +0000
(11:22 +0000)
9 more little piglits with radeonsi.
NOTE: This is a candidate for the Mesa stable branch.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175885
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIInstructions.td
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIInstructions.td
b/lib/Target/R600/SIInstructions.td
index 55b4fa89ba1a61dc01bbd4ff380535d04fc3a53e..b83276f13265c008861b6968aab1f4f3790fce16 100644
(file)
--- a/
lib/Target/R600/SIInstructions.td
+++ b/
lib/Target/R600/SIInstructions.td
@@
-567,7
+567,9
@@
defm V_FRACT_F32 : VOP1_32 <0x00000020, "V_FRACT_F32",
[(set VReg_32:$dst, (AMDGPUfract VSrc_32:$src0))]
>;
defm V_TRUNC_F32 : VOP1_32 <0x00000021, "V_TRUNC_F32", []>;
-defm V_CEIL_F32 : VOP1_32 <0x00000022, "V_CEIL_F32", []>;
+defm V_CEIL_F32 : VOP1_32 <0x00000022, "V_CEIL_F32",
+ [(set VReg_32:$dst, (fceil VSrc_32:$src0))]
+>;
defm V_RNDNE_F32 : VOP1_32 <0x00000023, "V_RNDNE_F32",
[(set VReg_32:$dst, (frint VSrc_32:$src0))]
>;