diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2019-12-13 18:16:06 +0100 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2019-12-21 10:34:53 +0100 |
commit | 4dfcd7d4be18e8bc437ca170782212aa06635a95 (patch) | |
tree | a0dfa75b91b24d82c0864fb7ecc9bed9c5cc73a0 /aarch64/Asm.v | |
parent | 54fb9faab6a53fad126fd57c3d58b232ff181cd1 (diff) | |
download | compcert-4dfcd7d4be18e8bc437ca170782212aa06635a95.tar.gz compcert-4dfcd7d4be18e8bc437ca170782212aa06635a95.zip |
Remove `__builtin_nop` for some architectures. (#208)
The `__builtin_nop` function is documented only for PowerPC.
It was added to the other architectures by copy paste, but has no
known uses. So, remove `__builtin_nop` from all architectures
but PowerPC.
Diffstat (limited to 'aarch64/Asm.v')
-rw-r--r-- | aarch64/Asm.v | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/aarch64/Asm.v b/aarch64/Asm.v index 47cd3051..87fcae8e 100644 --- a/aarch64/Asm.v +++ b/aarch64/Asm.v @@ -298,7 +298,6 @@ Inductive instruction: Type := | Pbtbl (r1: ireg) (tbl: list label) (**r N-way branch through a jump table *) | Pbuiltin (ef: external_function) (args: list (builtin_arg preg)) (res: builtin_res preg) (**r built-in function (pseudo) *) - | Pnop (**r no operation *) | Pcfi_adjust (ofs: int) (**r .cfi_adjust debug directive *) | Pcfi_rel_offset (ofs: int) (**r .cfi_rel_offset debug directive *) . @@ -1112,8 +1111,7 @@ Definition exec_instr (f: function) (i: instruction) (rs: regset) (m: mem) : out | Pfmsub _ _ _ _ _ | Pfnmadd _ _ _ _ _ | Pfnmsub _ _ _ _ _ - | Pnop - | Pcfi_adjust _ + | Pcfi_adjust _ | Pcfi_rel_offset _ => Stuck end. |