summary refs log tree commit diff
path: root/lisc
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-29 15:07:54 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-10-30 13:20:42 -0400
commite68aac2cef83469656bfb5703290a9e850cadbff (patch)
tree3719f32b583b8199ec35ab83b1f60b4d6e1f5539 /lisc
parent0a84de5e533b4e1609598c55dfb878c364d11fd3 (diff)
downloadroux-e68aac2cef83469656bfb5703290a9e850cadbff.tar.gz
use loadw in cprime.ssa
Diffstat (limited to 'lisc')
-rw-r--r--lisc/test/cprime.ssa24
1 files changed, 12 insertions, 12 deletions
diff --git a/lisc/test/cprime.ssa b/lisc/test/cprime.ssa
index 463b1d8..ed303ce 100644
--- a/lisc/test/cprime.ssa
+++ b/lisc/test/cprime.ssa
@@ -13,12 +13,12 @@ function $test() {
 	storew 11, %v2
 	storew 12, %v3
 @L0
-	%v5 =w load %v1
+	%v5 =w loadw %v1
 	%v6 =w cne %v5, 10001
 	jnz %v6, @L8, @L1
 @L8
 	storew 1, %v4
-	%v7 =w load %v3
+	%v7 =w loadw %v3
 	%v8 =w rem %v7, 2
 	%v9 =w ceq %v8, 0
 	jnz %v9, @L9, @L5
@@ -27,13 +27,13 @@ function $test() {
 @L5
 	storew 3, %v0
 @L2
-	%v10 =w load %v0
-	%v11 =w load %v3
+	%v10 =w loadw %v0
+	%v11 =w loadw %v3
 	%v12 =w cslt %v10, %v11
 	jnz %v12, @L10, @L3
 @L10
-	%v13 =w load %v3
-	%v14 =w load %v0
+	%v13 =w loadw %v3
+	%v14 =w loadw %v0
 	%v15 =w rem %v13, %v14
 	%v16 =w ceq %v15, 0
 	jnz %v16, @L11, @L4
@@ -41,26 +41,26 @@ function $test() {
 	storew 0, %v4
 	jmp @L3
 @L4
-	%v17 =w load %v0
+	%v17 =w loadw %v0
 	%v18 =w add %v17, 2
 	storew %v18, %v0
 	jmp @L2
 @L3
-	%v19 =w load %v4
+	%v19 =w loadw %v4
 	jnz %v19, @L12, @L6
 @L12
-	%v20 =w load %v3
+	%v20 =w loadw %v3
 	storew %v20, %v2
-	%v21 =w load %v1
+	%v21 =w loadw %v1
 	%v22 =w add %v21, 1
 	storew %v22, %v1
 @L6
-	%v23 =w load %v3
+	%v23 =w loadw %v3
 	%v24 =w add %v23, 1
 	storew %v24, %v3
 	jmp @L0
 @L1
-	%v25 =w load %v2
+	%v25 =w loadw %v2
 	%v26 =w cne %v25, 104743
 	jnz %v26, @L13, @L7
 @L13