binutils-gdb/ld/testsuite/ld-loongarch-elf/jmp_op.s
liuzhensong 560b3fe208 LoongArch ld support
2021-10-22  Chenghua Xu  <xuchenghua@loongson.cn>
	    Zhensong Liu  <liuzhensong@loongson.cn>
	    Weinan Liu  <liuweinan@loongson.cn>
	    Xiaolin Tang  <tangxiaolin@loongson.cn>

ld/
	* Makefile.am: Add LoongArch.
	* NEWS: Mention LoongArch support.
	* configure.tgt: Add LoongArch.
	* emulparams/elf32loongarch-defs.sh: New.
	* emulparams/elf32loongarch.sh: Likewise.
	* emulparams/elf64loongarch-defs.sh: Likewise.
	* emulparams/elf64loongarch.sh: Likewise.
	* emultempl/loongarchelf.em: Likewise.
	* Makefile.in: Regenerate.
	* po/BLD-POTFILES.in: Regenerate.
ld/testsuite/
	* ld-loongarch-elf/disas-jirl.d: New.
	* ld-loongarch-elf/disas-jirl.s: Likewise.
	* ld-loongarch-elf/jmp_op.d: Likewise.
	* ld-loongarch-elf/jmp_op.s: Likewise.
	* ld-loongarch-elf/ld-loongarch-elf.exp: Likewise.
	* ld-loongarch-elf/macro_op.d: Likewise.
	* ld-loongarch-elf/macro_op.s: Likewise.
	* ld-loongarch-elf/syscall-0.s: Likewise.
	* ld-loongarch-elf/syscall-1.s: Likewise.
	* ld-loongarch-elf/syscall.d: Likewise.
	* ld-srec/srec.exp: Add LoongArch.
	* ld-unique/pr21529.d: Likewise.
2021-10-24 21:36:32 +10:30

23 lines
312 B
ArmAsm

.L1:
nop
bgtz $r4,L1
bgez $r4,L1
blez $r4,L1
beqz $r4,L1
bnez $r4,L1
bceqz $fcc0,L1
bcnez $fcc0,L1
jr $r4
b L1
bl L1
beq $r4,$r5,L1
bne $r4,$r5,L1
blt $r4,$r5,L1
bgt $r4,$r5,L1
bge $r4,$r5,L1
ble $r4,$r5,L1
bltu $r4,$r5,L1
bgtu $r4,$r5,L1
bgeu $r4,$r5,L1
bleu $r4,$r5,L1