Skip to content

Commit

Permalink
Fix experiment
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaslindner committed Nov 10, 2024
1 parent 5c1ab42 commit 4e93e04
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 2 deletions.
5 changes: 5 additions & 0 deletions examples/arm_cm0/balrob/balrob_endsScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ val locs =
val symb_exec_thm = birs_summary birs_prog_config [] reqs locs;
val _ = save_thm("balrob_summary_" ^ entry_name ^ "_thm", symb_exec_thm);


(* ------------------------------------ *)

val _ = print "\n";
val _ = Profile.print_profile_results (Profile.results ());


val _ = export_theory ();
1 change: 1 addition & 0 deletions examples/arm_cm0/balrob/balrob_faddScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ open HolKernel Parse boolLib bossLib;
open balrob_supportLib;

open balrob_endsTheory;
open balrob_fmulTheory; (* TODO: remove this line later *)

val _ = new_theory "balrob_fadd";

Expand Down
7 changes: 6 additions & 1 deletion examples/arm_cm0/balrob/balrob_fdivScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@ val locs =
( 0x100005A4,
[0x10000678]);
val symb_exec_thm = birs_summary birs_prog_config
val symb_exec_thm = birs_summary_gen
(fn x => ((*print "\n\n"; print_term x; print "\n\n";*) birs_simpLib.birs_simp_ID_fun x))
(gen_const_load_32_32_cheat_thms [
(0x100007bc, 0x100007c8),
(0x100007c4, 0x10000808)])
birs_prog_config
[balrob_summary___clzsi2_thm,
balrob_summary___aeabi_fdiv_loop_thm,
balrob_summary___aeabi_fdiv_c1_thm,
Expand Down
7 changes: 6 additions & 1 deletion examples/arm_cm0/balrob/balrob_fmulScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ open HolKernel Parse boolLib bossLib;
open balrob_supportLib;

open balrob_endsTheory;
(*
open balrob_fsubTheory; (* TODO: remove this line later *)
open balrob_faddTheory; (* TODO: remove this line later *)
*)

val _ = new_theory "balrob_fmul";

Expand Down Expand Up @@ -99,7 +101,10 @@ val locs =
( 0x10000B44,
[0x10000C12]);
val symb_exec_thm = birs_summary birs_prog_config
val symb_exec_thm = birs_summary_gen
(fn x => ((*print "\n\n"; print_term x; print "\n\n";*) birs_simpLib.birs_simp_ID_fun x))
(gen_const_load_32_32_cheat_thms [(0x10000DA0, 0x10000DA8)])
birs_prog_config
[balrob_summary___clzsi2_thm,
balrob_summary___aeabi_fmul_c1_thm,
balrob_summary___aeabi_fmul_c2_thm,
Expand Down
1 change: 1 addition & 0 deletions examples/arm_cm0/balrob/balrob_fsubScript.sml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ open HolKernel Parse boolLib bossLib;
open balrob_supportLib;

open balrob_endsTheory;
open balrob_fmulTheory; (* TODO: remove this line later *)

val _ = new_theory "balrob_fsub";

Expand Down

0 comments on commit 4e93e04

Please sign in to comment.