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

Unified Diff: tests_lit/assembler/arm32/vec-move.ll

Issue 1878943009: Subzero. ARM32. Vector casts. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds vcvt assembler lit tests. Created 4 years, 8 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
Index: tests_lit/assembler/arm32/vec-move.ll
diff --git a/tests_lit/assembler/arm32/vec-move.ll b/tests_lit/assembler/arm32/vec-move.ll
index ca2ebe30203df1dbfbb6c934aa43fdec9f58b4c1..df8d90645da288f9add6d2f9ff5d322040974788 100644
--- a/tests_lit/assembler/arm32/vec-move.ll
+++ b/tests_lit/assembler/arm32/vec-move.ll
@@ -23,17 +23,19 @@
; RUN: | FileCheck %s --check-prefix=DIS
-define internal <4 x float> @testMoveVector(<4 x i32> %a) {
+define internal <4 x float> @testMoveVector(<4 x i32> %a, <4 x i32> %b) {
; ASM-LABEL: testMoveVector:
; DIS-LABEL:{{.+}} <testMoveVector>:
; IASM-LABEL: testMoveVector:
entry:
- %0 = sitofp <4 x i32> %a to <4 x float>
+ %0 = bitcast <4 x i32> %b to <4 x float>
ret <4 x float> %0
; ASM: vmov.f32 q0, q1
-; DIS: 3c: eef03a40
+; The integrated assembler emits a vorr instead of a vmov.
+; DIS: 0: f2220152
; IASM-NOT: vmov.f32 q0, q1
+; IASM-NOT: vorr q0, q1, q1
}

Powered by Google App Engine
This is Rietveld 408576698