[PATCH, Committed] Check register type for load immediate instruction in the bfin port of gas
Jie Zhang
jzhang918@gmail.com
Fri Nov 18 14:38:00 GMT 2005
The load immediate instruction for Blackfin does not allow any one of
the sysregs (ASTAT, SEQSTAT, SYSCFG, RETI, RETX, RETN, RETE, RETS, LC0
and LC1, LT0 and LT1, LB0 and LB1, CYCLES, CYCLES2, and EMUDAT) as its
destination register. Previously Blackfin assembler would silently
accept the following illegal instructions and generate incorrect
result:
ASTAT=0;
SEQSTAT=0;
SYSCFG=0;
RETI=0;
RETX=0;
RETN=0;
RETE=0;
RETS=0;
LC0=0;
LC1=0;
LT0=0;
LT1=0;
LB0=0;
LB1=0;
CYCLES=0;
CYCLES2=0;
EMUDAT=0;
I have committed this patch to check the register type for load
immediate instruction. The assembler now should give errors on these
instructions.
Jie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gas-check-regtype-loadimm.diff
Type: text/x-patch
Size: 1953 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20051118/c9484ebc/attachment.bin>
More information about the Binutils
mailing list