From be16bb885ef141dc497f6e7358ac82e9bed4f34d Mon Sep 17 00:00:00 2001 From: David Faust Date: Mon, 24 Jul 2023 11:40:57 -0700 Subject: [PATCH] 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. --- gcc/config/bpf/bpf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/bpf/bpf.md b/gcc/config/bpf/bpf.md index 3e2d760fbe45..64342ea1de20 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 -- 2.47.2