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

Unified Diff: runtime/szrt_i686.ll

Issue 639543002: Add cross test for vector itofp and fptoi casts. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: share more Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/szrt.c ('k') | tests_lit/llvm2ice_tests/fp.pnacl.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/szrt_i686.ll
diff --git a/runtime/szrt_i686.ll b/runtime/szrt_i686.ll
new file mode 100644
index 0000000000000000000000000000000000000000..9877f48d5aca1ec5db6d787ab4d0d7d90289adba
--- /dev/null
+++ b/runtime/szrt_i686.ll
@@ -0,0 +1,13 @@
+target triple = "i386-unknown-linux-gnu"
+
+define <4 x float> @Sz_uitofp_v4i32(<4 x i32> %a) {
+entry:
+ %0 = uitofp <4 x i32> %a to <4 x float>
+ ret <4 x float> %0
+}
+
+define <4 x i32> @Sz_fptoui_v4f32(<4 x float> %a) {
+entry:
+ %0 = fptoui <4 x float> %a to <4 x i32>
+ ret <4 x i32> %0
+}
« no previous file with comments | « runtime/szrt.c ('k') | tests_lit/llvm2ice_tests/fp.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698