summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCliff Click <cliffc@acm.org>2026-09-25 15:00:05 -0700
committerCliff Click <cliffc@acm.org>2026-09-25 15:00:05 -0700
commit645645b2db248eed16a619b5a0d2d8c23b661a53 (patch)
tree76c18b6e222e2516d1a3677a719350a4bec86526
parenta32e83c9d81cfdb3759a2961d8b192ca44d75935 (diff)
parent4791e3185ba1d364d82c4ffd63f9dc176739493e (diff)
downloadSimple-645645b2db248eed16a619b5a0d2d8c23b661a53.tar.gz
Simple-645645b2db248eed16a619b5a0d2d8c23b661a53.zip
Merge branch 'main' of https://github.com/SeaOfNodes/Simple
-rw-r--r--chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java2
-rw-r--r--chapter22/src/test/java/com/seaofnodes/simple/Chapter21Test.java2
-rw-r--r--chapter23/src/test/java/com/seaofnodes/simple/Chapter21Test.java2
-rw-r--r--chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java2
-rw-r--r--chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java2
-rw-r--r--chapter25/src/test/java/com/seaofnodes/simple/Chapter21Test.java2
6 files changed, 6 insertions, 6 deletions
diff --git a/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java
index 729bdc97..0cabcfbc 100644
--- a/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java
+++ b/chapter21/src/test/java/com/seaofnodes/simple/Chapter21Test.java
@@ -410,7 +410,7 @@ public class Chapter21Test {
// than what Win64 allows - so Win64 gets a lot more spills here.
String arg_count = "191.000000\n";
TestC.run("arg_count", arg_count,
- TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15);
+ TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9);
EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", 0, 0, false);
diff --git a/chapter22/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter22/src/test/java/com/seaofnodes/simple/Chapter21Test.java
index b27e16fd..9f680807 100644
--- a/chapter22/src/test/java/com/seaofnodes/simple/Chapter21Test.java
+++ b/chapter22/src/test/java/com/seaofnodes/simple/Chapter21Test.java
@@ -423,7 +423,7 @@ public class Chapter21Test {
// than what Win64 allows - so Win64 gets a lot more spills here.
String arg_count = "191.000000\n";
TestC.run("arg_count", arg_count,
- TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15);
+ TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9);
EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", 0, 0, false);
diff --git a/chapter23/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter23/src/test/java/com/seaofnodes/simple/Chapter21Test.java
index 3be634d1..a0de3736 100644
--- a/chapter23/src/test/java/com/seaofnodes/simple/Chapter21Test.java
+++ b/chapter23/src/test/java/com/seaofnodes/simple/Chapter21Test.java
@@ -450,7 +450,7 @@ public class Chapter21Test {
// than what Win64 allows - so Win64 gets a lot more spills here.
String arg_count = "191.000000\n";
TestC.run("arg_count", arg_count,
- TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15);
+ TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9);
EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", 0, 0, false);
diff --git a/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java
index afa99d31..86fa016a 100644
--- a/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java
+++ b/chapter24/src/test/java/com/seaofnodes/simple/Chapter21Test.java
@@ -605,7 +605,7 @@ val fib = {int n ->
// than what Win64 allows - so Win64 gets a lot more spills here.
String arg_count = "191.000000\n";
TestC.run("arg_count", arg_count,
- TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15);
+ TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9);
EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", 0, 0, false);
diff --git a/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java b/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java
index 1631705b..a320e21f 100644
--- a/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java
+++ b/chapter24/src/test/java/com/seaofnodes/simple/Chapter24AllocTest.java
@@ -69,7 +69,7 @@ val addAll = { int i0, flt f1, int i2, flt f3, int i4, flt f5, int i6, flt f7, i
""";
String arg_count = "191.000000\n";
- TestC.run(src, "arg_count", null, arg_count, TestC.CALL_CONVENTION.equals("Win64") ? 32 : 15);
+ TestC.run(src, "arg_count", null, arg_count, TestC.CALL_CONVENTION.equals("Win64") ? 32 : 9);
EvalRisc5 R5 = TestRisc5.build("no_stack_arg_count", src, 0, 4, false);
diff --git a/chapter25/src/test/java/com/seaofnodes/simple/Chapter21Test.java b/chapter25/src/test/java/com/seaofnodes/simple/Chapter21Test.java
index c7677345..9f37be49 100644
--- a/chapter25/src/test/java/com/seaofnodes/simple/Chapter21Test.java
+++ b/chapter25/src/test/java/com/seaofnodes/simple/Chapter21Test.java
@@ -591,7 +591,7 @@ val addAll = { int i0, flt f1, int i2, flt f3, int i4, flt f5, int i6, flt f7, i
""";
String arg_count = "191.000000\n";
- TestC.runC(src, "arg_count", arg_count, TestC.CALL_CONVENTION.equals("win64") ? 35 : 15);
+ TestC.runC(src, "arg_count", arg_count, TestC.CALL_CONVENTION.equals("win64") ? 35 : 9);
EvalRisc5 R5 = TestRisc5.build( src, "addAll", 0, 4, false);