summaryrefslogtreecommitdiffstats
path: root/llvm/docs/tutorial/LangImpl7.html
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-03-02 01:11:08 +0000
committerDan Gohman <gohman@apple.com>2010-03-02 01:11:08 +0000
commit6f34abd0926c1d15e723512e7f69ca664c380ee1 (patch)
treed64903405f45255604987467abdfd74aa93417e2 /llvm/docs/tutorial/LangImpl7.html
parent6232f73c7b615c87661bd2aad8d6cb2f880a05a3 (diff)
downloadbcm5719-llvm-6f34abd0926c1d15e723512e7f69ca664c380ee1.tar.gz
bcm5719-llvm-6f34abd0926c1d15e723512e7f69ca664c380ee1.zip
Floating-point add, sub, and mul are now spelled fadd, fsub, and fmul,
respectively. llvm-svn: 97531
Diffstat (limited to 'llvm/docs/tutorial/LangImpl7.html')
-rw-r--r--llvm/docs/tutorial/LangImpl7.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/llvm/docs/tutorial/LangImpl7.html b/llvm/docs/tutorial/LangImpl7.html
index f0a03c3cc89..0b46ba58ec5 100644
--- a/llvm/docs/tutorial/LangImpl7.html
+++ b/llvm/docs/tutorial/LangImpl7.html
@@ -557,12 +557,12 @@ then: ; preds = %entry
else: ; preds = %entry
<b>%x3 = load double* %x1</b>
- %subtmp = sub double %x3, 1.000000e+00
+ %subtmp = fsub double %x3, 1.000000e+00
%calltmp = call double @fib( double %subtmp )
<b>%x4 = load double* %x1</b>
- %subtmp5 = sub double %x4, 2.000000e+00
+ %subtmp5 = fsub double %x4, 2.000000e+00
%calltmp6 = call double @fib( double %subtmp5 )
- %addtmp = add double %calltmp, %calltmp6
+ %addtmp = fadd double %calltmp, %calltmp6
br label %ifcont
ifcont: ; preds = %else, %then
@@ -595,11 +595,11 @@ then:
br label %ifcont
else:
- %subtmp = sub double <b>%x</b>, 1.000000e+00
+ %subtmp = fsub double <b>%x</b>, 1.000000e+00
%calltmp = call double @fib( double %subtmp )
- %subtmp5 = sub double <b>%x</b>, 2.000000e+00
+ %subtmp5 = fsub double <b>%x</b>, 2.000000e+00
%calltmp6 = call double @fib( double %subtmp5 )
- %addtmp = add double %calltmp, %calltmp6
+ %addtmp = fadd double %calltmp, %calltmp6
br label %ifcont
ifcont: ; preds = %else, %then
@@ -625,11 +625,11 @@ entry:
br i1 %ifcond, label %else, label %ifcont
else:
- %subtmp = sub double %x, 1.000000e+00
+ %subtmp = fsub double %x, 1.000000e+00
%calltmp = call double @fib( double %subtmp )
- %subtmp5 = sub double %x, 2.000000e+00
+ %subtmp5 = fsub double %x, 2.000000e+00
%calltmp6 = call double @fib( double %subtmp5 )
- %addtmp = add double %calltmp, %calltmp6
+ %addtmp = fadd double %calltmp, %calltmp6
ret double %addtmp
ifcont:
OpenPOWER on IntegriCloud