diff options
author | nicolas.nardino <nicolas.nardino@ens-lyon.fr> | 2021-06-10 16:31:51 +0200 |
---|---|---|
committer | nicolas.nardino <nicolas.nardino@ens-lyon.fr> | 2021-06-10 16:31:51 +0200 |
commit | 1701e43316ee8e69e794a025a8c9979af6bb8c93 (patch) | |
tree | f489f1f3e7c90d04d47536e480cf2b49a0eb440c /aarch64/Machregsaux.ml | |
parent | 386b9053177bb4ef2801cec00b717c400a828139 (diff) | |
download | compcert-kvx-1701e43316ee8e69e794a025a8c9979af6bb8c93.tar.gz compcert-kvx-1701e43316ee8e69e794a025a8c9979af6bb8c93.zip |
Work on new schedluer
Renamed a test file, wrote function to compute pressure deltas,
Still need to pass the info in some way; beginning of the actual
scheduler function
Diffstat (limited to 'aarch64/Machregsaux.ml')
-rw-r--r-- | aarch64/Machregsaux.ml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/aarch64/Machregsaux.ml b/aarch64/Machregsaux.ml index 41db3bd4..15fb08ca 100644 --- a/aarch64/Machregsaux.ml +++ b/aarch64/Machregsaux.ml @@ -19,3 +19,7 @@ let class_of_type = function | AST.Tint | AST.Tlong -> 0 | AST.Tfloat | AST.Tsingle -> 1 | AST.Tany32 | AST.Tany64 -> assert false + +(* number of available registers per class *) +(* TODO: add this to all archs *) +let nr_regs = [| 29; 32 |] |