From c48b7c63592e5930f022452ee6c3f1cf3d1ada97 Mon Sep 17 00:00:00 2001 From: Léo Gourdin Date: Wed, 2 Dec 2020 18:02:23 +0100 Subject: Adding semantics for Pldp This commit prepare the backend for a peephole optimization in Asmblock. --- aarch64/OpWeightsAsm.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'aarch64/OpWeightsAsm.ml') 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 |] -- cgit