Xtensa [patch] Assembler register search doesn't always find valid register name
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
Compiling the code below generates an error: Error: Unknown identifier "B9".
The current regnumber_count_bsstart value is an inappropriate starting value for the binary search in findreg_by_gasname. The attached patch changes this value to 32.
Steps to reproduce:
unit asmtest;
interface
procedure test;
implementation
procedure test; assembler;
label
lbl;
asm
lbl:
bt b9, lbl
end;
end.
Mantis conversion info:
- Mantis ID: 37121
- Build: 45312
- Version: 3.3.1
- Fixed in revision: 45467 (#e76f9e5b)