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

Unified Diff: tests_lit/llvm2ice_tests/arith.ll

Issue 2317653004: Subzero, MIPS32: Introduction of genTargetHelperCallFor (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: FREM resolved Created 4 years, 3 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 | « tests_lit/llvm2ice_tests/64bit.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fp.arith.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/llvm2ice_tests/arith.ll
diff --git a/tests_lit/llvm2ice_tests/arith.ll b/tests_lit/llvm2ice_tests/arith.ll
index 73ed8824f51f0f7a0e28051d4a4de0c60709586c..9d6a110149ecd056f7926c4dcfba2cfdb0be0edd 100644
--- a/tests_lit/llvm2ice_tests/arith.ll
+++ b/tests_lit/llvm2ice_tests/arith.ll
@@ -171,8 +171,7 @@ entry:
; ARM32HWDIV: sdiv
; MIPS32-LABEL: Sdiv
-; MIPS32: div
-; MIPS32: mflo
+; MIPS32: jal {{.*}} __divsi3
define internal i32 @SdivConst(i32 %a) {
entry:
@@ -191,8 +190,7 @@ entry:
; ARM32HWDIV: sdiv
; MIPS32-LABEL: SdivConst
-; MIPS32: div
-; MIPS32: mflo
+; MIPS32: jal {{.*}} __divsi3
define internal i32 @Srem(i32 %a, i32 %b) {
entry:
@@ -214,8 +212,7 @@ entry:
; ARM32HWDIV: mls
; MIPS32-LABEL: Srem
-; MIPS32: div
-; MIPS32: mfhi
+; MIPS32: jal {{.*}} __modsi3
define internal i32 @Udiv(i32 %a, i32 %b) {
entry:
@@ -235,8 +232,7 @@ entry:
; ARM32HWDIV: udiv
; MIPS32-LABEL: Udiv
-; MIPS32: divu
-; MIPS32: mflo
+; MIPS32: jal {{.*}} __udivsi3
define internal i32 @Urem(i32 %a, i32 %b) {
entry:
@@ -257,8 +253,7 @@ entry:
; ARM32HWDIV: mls
; MIPS32-LABEL: Urem
-; MIPS32: divu
-; MIPS32: mfhi
+; MIPS32: jal {{.*}} __umodsi3
; The following tests check that shift instructions don't try to use a
; ConstantRelocatable as an immediate operand.
« no previous file with comments | « tests_lit/llvm2ice_tests/64bit.pnacl.ll ('k') | tests_lit/llvm2ice_tests/fp.arith.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698