diff options
author | Bernhard Schommer <bernhardschommer@gmail.com> | 2020-01-02 14:58:37 +0100 |
---|---|---|
committer | Xavier Leroy <xavierleroy@users.noreply.github.com> | 2020-01-03 09:12:23 +0100 |
commit | 7077c2ea9e86f001e805d7a2a5e7fcdfd0a8ece8 (patch) | |
tree | 3c03dcc8cb4508ff2a58852a7e24ab73ac914f8f /aarch64/TargetPrinter.ml | |
parent | 4b042d572b943c8cb3b86b61e3282bba58f488ab (diff) | |
download | compcert-7077c2ea9e86f001e805d7a2a5e7fcdfd0a8ece8.tar.gz compcert-7077c2ea9e86f001e805d7a2a5e7fcdfd0a8ece8.zip |
Revert "Remove `__builtin_nop` for some architectures. (#208)"
This reverts commit 4dfcd7d4be18e8bc437ca170782212aa06635a95.
Diffstat (limited to 'aarch64/TargetPrinter.ml')
-rw-r--r-- | aarch64/TargetPrinter.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/aarch64/TargetPrinter.ml b/aarch64/TargetPrinter.ml index f64083c4..e54673dd 100644 --- a/aarch64/TargetPrinter.ml +++ b/aarch64/TargetPrinter.ml @@ -473,6 +473,9 @@ module Target : TARGET = (* Floating-point conditional select *) | Pfsel(rd, r1, r2, c) -> fprintf oc " fcsel %a, %a, %a, %s\n" dreg rd dreg r1 dreg r2 (condition_name c) + (* No-op *) + | Pnop -> + fprintf oc " nop\n" (* Pseudo-instructions expanded in Asmexpand *) | Pallocframe(sz, linkofs) -> assert false | Pfreeframe(sz, linkofs) -> assert false |