aboutsummaryrefslogtreecommitdiffstats
path: root/riscV/SelectOp.vp
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@college-de-france.fr>2019-04-16 14:04:06 +0200
committerXavier Leroy <xavierleroy@users.noreply.github.com>2019-05-20 18:00:46 +0200
commitdf24f45af3e156670a39b553ebbcaba7403f0af3 (patch)
tree90d3c04aeb1ff084555a126de3d9ae23e728aacc /riscV/SelectOp.vp
parent49342474c19558709c8cea6d70eaba9a4dd7a150 (diff)
downloadcompcert-kvx-df24f45af3e156670a39b553ebbcaba7403f0af3.tar.gz
compcert-kvx-df24f45af3e156670a39b553ebbcaba7403f0af3.zip
Provide a default "select" operation for the RiscV port
No `Osel` operation for this port, so `SelectOp.select` always returns None.
Diffstat (limited to 'riscV/SelectOp.vp')
-rw-r--r--riscV/SelectOp.vp6
1 files changed, 6 insertions, 0 deletions
diff --git a/riscV/SelectOp.vp b/riscV/SelectOp.vp
index bb8af2ed..760f06af 100644
--- a/riscV/SelectOp.vp
+++ b/riscV/SelectOp.vp
@@ -420,6 +420,12 @@ Definition singleofintu (e: expr) := Eop Osingleofintu (e ::: Enil).
Definition singleoffloat (e: expr) := Eop Osingleoffloat (e ::: Enil).
Definition floatofsingle (e: expr) := Eop Ofloatofsingle (e ::: Enil).
+(** ** Selection *)
+
+Definition select (ty: typ) (cond: condition) (args: exprlist) (e1 e2: expr)
+ : option expr
+ := None.
+
(** ** Recognition of addressing modes for load and store operations *)
Nondetfunction addressing (chunk: memory_chunk) (e: expr) :=