aboutsummaryrefslogtreecommitdiffstats
path: root/aarch64/OpWeightsAsm.ml
diff options
context:
space:
mode:
authorLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2020-12-02 18:02:23 +0100
committerLéo Gourdin <leo.gourdin@univ-grenoble-alpes.fr>2020-12-02 18:02:23 +0100
commitc48b7c63592e5930f022452ee6c3f1cf3d1ada97 (patch)
tree8b77e87f9dbc17e67da3c36b7402fae21f033e33 /aarch64/OpWeightsAsm.ml
parentdd299de4b51c561b3a2d8e9f388396381b0e2b85 (diff)
downloadcompcert-kvx-c48b7c63592e5930f022452ee6c3f1cf3d1ada97.tar.gz
compcert-kvx-c48b7c63592e5930f022452ee6c3f1cf3d1ada97.zip
Adding semantics for Pldp
This commit prepare the backend for a peephole optimization in Asmblock.
Diffstat (limited to 'aarch64/OpWeightsAsm.ml')
-rw-r--r--aarch64/OpWeightsAsm.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/aarch64/OpWeightsAsm.ml b/aarch64/OpWeightsAsm.ml
index ca120228..3ce2c68e 100644
--- a/aarch64/OpWeightsAsm.ml
+++ b/aarch64/OpWeightsAsm.ml
@@ -69,7 +69,7 @@ module Cortex_A53 = struct
match i' with Pfcmp0 _ -> 6 | _ -> 1)
| PBasic (PArith (Pcset (_, _))) | PBasic (PArith (Pcsel (_, _, _, _))) -> 6
| PBasic (PArith _) -> 1
- | PBasic (PLoad (_, _, _)) -> 3
+ | PBasic (PLoad _) -> 3
| PBasic (PStore (_, _, _)) -> 3
| PBasic (Pallocframe (_, _)) -> 3
| PBasic (Pfreeframe (_, _)) -> 1
@@ -109,7 +109,7 @@ module Cortex_A53 = struct
match i' with Pfcmp0 _ -> [| 1; 1; 1; 0 |] | _ -> [| 1; 1; 0; 0 |])
| PBasic (PArith (Pcset (_, _))) | PBasic (PArith (Pcsel (_, _, _, _))) -> [| 1; 1; 1; 0 |]
| PBasic (PArith _) -> [| 1; 1; 0; 0 |]
- | PBasic (PLoad (_, _, _)) -> [| 1; 0; 0; 1 |]
+ | PBasic (PLoad _) -> [| 1; 0; 0; 1 |]
| PBasic (PStore (_, _, _)) -> [| 1; 0; 0; 1 |]
| PBasic (Pallocframe (_, _)) -> [| 1; 0; 0; 1 |]
| PBasic (Pfreeframe (_, _)) -> [| 1; 1; 0; 0 |]