diff options
author | David Faust <david.faust@oracle.com> | 2023-07-24 11:40:57 -0700 |
---|---|---|
committer | David Faust <david.faust@oracle.com> | 2023-07-24 12:02:47 -0700 |
commit | be16bb885ef141dc497f6e7358ac82e9bed4f34d (patch) | |
tree | 51ce6f8aa707a2a6dda4d379ded7d85c33f76e32 /gcc/config/bpf | |
parent | 2a3556376c69a1fb588dcf25225950575e42784f (diff) | |
download | gcc-be16bb885ef141dc497f6e7358ac82e9bed4f34d.zip gcc-be16bb885ef141dc497f6e7358ac82e9bed4f34d.tar.gz gcc-be16bb885ef141dc497f6e7358ac82e9bed4f34d.tar.bz2 |
bpf: add pseudo-c asm dialect for "nop"
The define_insn "nop" was missing a template for the pseudo-c dialect,
so the normal syntax was unconditionally emitted.
gcc/
* config/bpf/bpf.md (nop): Add pseudo-c asm dialect template.
Diffstat (limited to 'gcc/config/bpf')
-rw-r--r-- | gcc/config/bpf/bpf.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/bpf/bpf.md b/gcc/config/bpf/bpf.md index 3e2d760..64342ea 100644 --- a/gcc/config/bpf/bpf.md +++ b/gcc/config/bpf/bpf.md @@ -103,7 +103,7 @@ (define_insn "nop" [(const_int 0)] "" - "ja\t0" + "{ja\t0|goto 0}" [(set_attr "type" "alu")]) ;;;; Arithmetic/Logical |