Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: crosstest/test_arith_sqrt.ll

Issue 973823003: Subzero: Run sandboxed cross tests, and do some cleanup. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 target triple = "i686-pc-linux-gnu"
2
3 declare float @llvm.sqrt.f32(float) 1 declare float @llvm.sqrt.f32(float)
4 declare double @llvm.sqrt.f64(double) 2 declare double @llvm.sqrt.f64(double)
5 3
6 define float @_Z6mySqrtf(float %a) { 4 define float @_Z6mySqrtf(float %a) {
7 %x = call float @llvm.sqrt.f32(float %a) 5 %x = call float @llvm.sqrt.f32(float %a)
8 ret float %x 6 ret float %x
9 } 7 }
10 8
11 define double @_Z6mySqrtd(double %a) { 9 define double @_Z6mySqrtd(double %a) {
12 %x = call double @llvm.sqrt.f64(double %a) 10 %x = call double @llvm.sqrt.f64(double %a)
13 ret double %x 11 ret double %x
14 } 12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698