[Bug gas/32382] beq is misassembled

2025-02-12 Thread lightningdzeyenr at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32382

--- Comment #3 from Jackson Huff  ---
I'm now testing the same with

.insn b 0b1001011, 0b111, a2, a3, 64

and the standards-compliant hex output should be 4b 70 d6 04, but as generated
4b 64 d6 00 6f 00 00 00.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32382] beq is misassembled

2024-12-02 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=32382

--- Comment #2 from Andreas Schwab  ---
$ echo 'beq t0,t1,.+16' | gas/as-new -
$ binutils/objdump -dr

a.out: file format elf64-littleriscv


Disassembly of section .text:

 <.text>:
   0:   00628863beq t0,t1,10 <.text+0x10>
0: R_RISCV_BRANCH   .L0 +0x10

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32382] beq is misassembled

2024-11-22 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=32382

Sam James  changed:

   What|Removed |Added

 Target||riscv
 CC||andrew at sifive dot com,
   ||nelson.chu at sifive dot com,
   ||palmer at dabbelt dot com,
   ||wilson at gcc dot gnu.org
   See Also||https://gcc.gnu.org/bugzill
   ||a/show_bug.cgi?id=117678

-- 
You are receiving this mail because:
You are on the CC list for the bug.


[Bug gas/32382] beq is misassembled

2024-11-21 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=32382

H.J. Lu  changed:

   What|Removed |Added

Summary|as for RISC-V generates |beq is misassembled
   |gobbledygook with unusual   |
   |but valid label formatting  |
 Status|UNCONFIRMED |NEW
   Last reconfirmed||2024-11-21
 Ever confirmed|0   |1
Version|2.43.1  |2.44 (HEAD)

--- Comment #1 from H.J. Lu  ---
$ cat y.s
beq t0, t1, 16
$ ./gas/as-new -o y.o y.s
$ ./binutils/objdump -dwr y.o

y.o: file format elf64-littleriscv


Disassembly of section .text:

 <.text>:
   0:   00629463bne t0,t1,8 <.text+0x8>
   4:   006fj   4 <.text+0x4>   4: R_RISCV_JAL 
*ABS*+0x10
$ llvm-mc --triple=riscv64-linux --filetype=obj  -o y.o y.s
$ ./binutils/objdump -dwr y.o

y.o: file format elf64-littleriscv


Disassembly of section .text:

 <.text>:
   0:   00628863beq t0,t1,10 <.text+0x10>
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.