bpf: fix zero_extendqidi2 ldx template

Commit 77d0f9ec38 inadvertently changed
the normal asm dialect instruction template for zero_extendqidi2 from
ldxb to ldxh. Fix that.

gcc/

	* config/bpf/bpf.md (zero_extendqidi2): Correct asm template to
	use ldxb instead of ldxh.
This commit is contained in:
David Faust 2024-02-14 14:29:43 -08:00
parent 5459a9074a
commit f995f56773
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@
"@
{and\t%0,0xff|%0 &= 0xff}
{mov\t%0,%1\;and\t%0,0xff|%0 = %1;%0 &= 0xff}
{ldxh\t%0,%1|%0 = *(u8 *) (%1)}"
{ldxb\t%0,%1|%0 = *(u8 *) (%1)}"
[(set_attr "type" "alu,alu,ldx")])
(define_insn "zero_extendsidi2"