RISC-V: Accept constant operands in la and lla
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Tue, 19 Jun 2018 05:12:48 +0000 (07:12 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 20 Jun 2018 05:24:25 +0000 (07:24 +0200)
opcodes/
PR gas/23305
* riscv-opc.c (riscv_opcodes): Use new format specifier 'B' for
la and lla.

gas/
PR gas/23305
* config/tc-riscv.c (riscv_ip): Add format specifier 'B' for
constants and symbols.
* testsuite/gas/riscv/lla32.d: New file.
* testsuite/gas/riscv/lla32.s: Likewise.
* testsuite/gas/riscv/lla64-fail.d: Likewise.
* testsuite/gas/riscv/lla64-fail.l: Likewise.
* testsuite/gas/riscv/lla64-fail.s: Likewise.
* testsuite/gas/riscv/lla64.d: Likewise.
* testsuite/gas/riscv/lla64.s: Likewise.


No differences found
This page took 0.058386 seconds and 4 git commands to generate.