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

Unified Diff: tests_lit/llvm2ice_tests/fp.pnacl.ll

Issue 634333002: emitIAS for fld and fstp (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: handle st(0) 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 | « src/assembler_ia32.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/fp.pnacl.ll
diff --git a/tests_lit/llvm2ice_tests/fp.pnacl.ll b/tests_lit/llvm2ice_tests/fp.pnacl.ll
index 8376ebd657c33933c639606d8f4de6c47534ce95..474961a4b301e4d7d083bd3abbb687f3413141d8 100644
--- a/tests_lit/llvm2ice_tests/fp.pnacl.ll
+++ b/tests_lit/llvm2ice_tests/fp.pnacl.ll
@@ -416,7 +416,7 @@ entry:
; CALLTARGETS-LABEL: signed64ToDouble
; CHECK: call -4
; CALLTARGETS: call cvtsi64tod
-; CHECK: fstp
+; CHECK: fstp qword
define internal float @signed64ToFloat(i64 %a) {
entry:
@@ -427,7 +427,7 @@ entry:
; CALLTARGETS-LABEL: signed64ToFloat
; CHECK: call -4
; CALLTARGETS: call cvtsi64tof
-; CHECK: fstp
+; CHECK: fstp dword
define internal double @unsigned64ToDouble(i64 %a) {
entry:
@@ -500,7 +500,7 @@ entry:
; CALLTARGETS-LABEL: unsigned32ToDouble
; CHECK: call -4
; CALLTARGETS: call cvtui32tod
-; CHECK: fstp
+; CHECK: fstp qword
define internal float @unsigned32ToFloat(i32 %a) {
entry:
@@ -511,7 +511,7 @@ entry:
; CALLTARGETS-LABEL: unsigned32ToFloat
; CHECK: call -4
; CALLTARGETS: call cvtui32tof
-; CHECK: fstp
+; CHECK: fstp dword
define internal double @signed16ToDouble(i32 %a) {
entry:
@@ -521,7 +521,7 @@ entry:
}
; CHECK-LABEL: signed16ToDouble
; CHECK: cvtsi2sd
-; CHECK: fld
+; CHECK: fld qword
define internal float @signed16ToFloat(i32 %a) {
entry:
@@ -531,7 +531,7 @@ entry:
}
; CHECK-LABEL: signed16ToFloat
; CHECK: cvtsi2ss
-; CHECK: fld
+; CHECK: fld dword
define internal double @unsigned16ToDouble(i32 %a) {
entry:
« no previous file with comments | « src/assembler_ia32.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698