summaryrefslogtreecommitdiff
path: root/src/test/run_power.ml
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/run_power.ml')
-rw-r--r--src/test/run_power.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/run_power.ml b/src/test/run_power.ml
index 268a6a8f..dfb618a4 100644
--- a/src/test/run_power.ml
+++ b/src/test/run_power.ml
@@ -104,7 +104,9 @@ let init_reg () =
List.fold_left (fun r (k,v) -> Reg.add k v r) Reg.empty [
(* XXX execute main() directly until we can handle the init phase *)
init "CIA" (hex_to_big_int !mainaddr) 64;
+ init "GPR0" Big_int.zero_big_int 64;
init "GPR1" Big_int.zero_big_int 64;
+ init "GPR2" Big_int.zero_big_int 64;
init "GPR31" Big_int.zero_big_int 64;
init "CTR" Big_int.zero_big_int 64;
init "CR" Big_int.zero_big_int 32;