On Mon, 13 Jul 2020 01:32:15 PDT (-0700), greentime...@sifive.com wrote:
arch/riscv/kernel/entry.S: Assembler messages:
arch/riscv/kernel/entry.S:106: Error: illegal operands `andi a0,s1,0x1800'
This building error is because of the SR_MPP value is too large to be used
as an immediate value
On Mon, 13 Jul 2020 01:32:15 PDT (-0700), greentime...@sifive.com wrote:
arch/riscv/kernel/entry.S: Assembler messages:
arch/riscv/kernel/entry.S:106: Error: illegal operands `andi a0,s1,0x1800'
This building error is because of the SR_MPP value is too large to be used
as an immediate value
arch/riscv/kernel/entry.S: Assembler messages:
arch/riscv/kernel/entry.S:106: Error: illegal operands `andi a0,s1,0x1800'
This building error is because of the SR_MPP value is too large to be used
as an immediate value for andi. To fix this issue I use li to set the
immediate value to t0,
3 matches
Mail list logo