aboutsummaryrefslogtreecommitdiffstats
path: root/arm/Asm.v
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2017-08-17 09:45:44 +0200
committerXavier Leroy <xavier.leroy@inria.fr>2017-08-17 09:45:44 +0200
commitc9d01df3577a23e20abbe934f6f36f17dbbb82cd (patch)
tree3347d5103efbdd6f0ca445b648763389097d3833 /arm/Asm.v
parente5d8d8d2d67daed762f6e0cc8f486b2c1b37bb20 (diff)
downloadcompcert-kvx-c9d01df3577a23e20abbe934f6f36f17dbbb82cd.tar.gz
compcert-kvx-c9d01df3577a23e20abbe934f6f36f17dbbb82cd.zip
ARM: Generate Pcfi_rel_offset directives directly from Asmgen
This is what we do for PowerPC and is more resilient to changes in code generation. We need to give Pcfi_rel_offset a dynamic semantics, but that's just a no-op.
Diffstat (limited to 'arm/Asm.v')
-rw-r--r--arm/Asm.v3
1 files changed, 2 insertions, 1 deletions
diff --git a/arm/Asm.v b/arm/Asm.v
index 6ba09a8f..7a393139 100644
--- a/arm/Asm.v
+++ b/arm/Asm.v
@@ -773,13 +773,14 @@ Definition exec_instr (f: function) (i: instruction) (rs: regset) (m: mem) : out
end
| _ => Stuck
end
+ | Pcfi_rel_offset ofs =>
+ Next (nextinstr rs) m
| Pbuiltin ef args res => Stuck (**r treated specially below *)
(** The following instructions and directives are not generated directly by Asmgen,
so we do not model them. *)
| Ppush _
| Padc _ _ _
| Pcfi_adjust _
- | Pcfi_rel_offset _
| Pclz _ _
| Prev _ _
| Prev16 _ _