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:
a7ad3d1
)
match a reassociated form of fnmul
author
Chris Lattner
<sabre@nondot.org>
Thu, 3 May 2007 00:31:40 +0000
(
00:31
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 3 May 2007 00:31:40 +0000
(
00:31
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36659
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/CodeGen/ARM/fnmul.ll
[new file with mode: 0644]
patch
|
blob
diff --git a/test/CodeGen/ARM/fnmul.ll
b/test/CodeGen/ARM/fnmul.ll
new file mode 100644
(file)
index 0000000..
87a30c9
--- /dev/null
+++ b/
test/CodeGen/ARM/fnmul.ll
@@ -0,0
+1,11
@@
+; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 | grep fnmuld
+; RUN: llvm-as < %s | llc -march=arm -mattr=+v6,+vfp2 -enable-sign-dependent-rounding-fp-math | grep fmul
+
+
+define double @t1(double %a, double %b) {
+entry:
+ %tmp2 = sub double -0.000000e+00, %a ; <double> [#uses=1]
+ %tmp4 = mul double %tmp2, %b ; <double> [#uses=1]
+ ret double %tmp4
+}
+