aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2019-05-03 14:32:36 +0200
committerCyril SIX <cyril.six@kalray.eu>2019-05-03 14:32:36 +0200
commit452da0d77523d15830d7a78198092d72822063a6 (patch)
tree273bf5fc7e715d80a75f5c83d06cfd32e9266d74 /common
parent24e97bd87918f2c487416744ba12a78aba35a9e5 (diff)
parent9976dba5412be7e834abb63ac2293f1da288a185 (diff)
downloadcompcert-kvx-452da0d77523d15830d7a78198092d72822063a6.tar.gz
compcert-kvx-452da0d77523d15830d7a78198092d72822063a6.zip
Merge branch 'mppa-work' into mppa_k1c
Diffstat (limited to 'common')
-rw-r--r--common/Values.v28
1 files changed, 0 insertions, 28 deletions
diff --git a/common/Values.v b/common/Values.v
index 059a72d9..127d1085 100644
--- a/common/Values.v
+++ b/common/Values.v
@@ -767,34 +767,6 @@ Definition rolml (v: val) (amount: int) (mask: int64): val :=
end.
-Definition extfz stop start v :=
- if (Z.leb start stop)
- && (Z.geb start Z.zero)
- && (Z.ltb stop Int.zwordsize)
- then
- let stop' := Z.add stop Z.one in
- match v with
- | Vint w =>
- Vint (Int.shru (Int.shl w (Int.repr (Z.sub Int.zwordsize stop'))) (Int.repr (Z.sub Int.zwordsize (Z.sub stop' start))))
- | _ => Vundef
- end
- else Vundef.
-
-
-Definition extfs stop start v :=
- if (Z.leb start stop)
- && (Z.geb start Z.zero)
- && (Z.ltb stop Int.zwordsize)
- then
- let stop' := Z.add stop Z.one in
- match v with
- | Vint w =>
- Vint (Int.shr (Int.shl w (Int.repr (Z.sub Int.zwordsize stop'))) (Int.repr (Z.sub Int.zwordsize (Z.sub stop' start))))
- | _ => Vundef
- end
- else Vundef.
-
-
(** Comparisons *)
Section COMPARISONS.