mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
* config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2008-09-26 Jie Zhang <jie.zhang@analog.com>
|
||||||
|
|
||||||
|
* config/bfin-parse.y (asm_1): Fix reduce/reduce conflicts.
|
||||||
|
|
||||||
2008-09-24 Richard Henderson <rth@redhat.com>
|
2008-09-24 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
|
* dw2gencfi.c (DWARF2_ADDR_SIZE): Provide default.
|
||||||
|
@ -1932,22 +1932,20 @@ asm_1:
|
|||||||
else
|
else
|
||||||
return yyerror ("Bad shift value or register");
|
return yyerror ("Bad shift value or register");
|
||||||
}
|
}
|
||||||
| HALF_REG ASSIGN HALF_REG LESS_LESS expr
|
|
||||||
{
|
|
||||||
if (IS_UIMM ($5, 4))
|
|
||||||
{
|
|
||||||
notethat ("dsp32shiftimm: dregs_half = dregs_half << uimm4\n");
|
|
||||||
$$ = DSP32SHIFTIMM (0x0, &$1, imm5 ($5), &$3, 2, HL2 ($1, $3));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return yyerror ("Bad shift value");
|
|
||||||
}
|
|
||||||
| HALF_REG ASSIGN HALF_REG LESS_LESS expr smod
|
| HALF_REG ASSIGN HALF_REG LESS_LESS expr smod
|
||||||
{
|
{
|
||||||
if (IS_UIMM ($5, 4))
|
if (IS_UIMM ($5, 4))
|
||||||
{
|
{
|
||||||
notethat ("dsp32shiftimm: dregs_half = dregs_half << uimm4\n");
|
if ($6.s0)
|
||||||
$$ = DSP32SHIFTIMM (0x0, &$1, imm5 ($5), &$3, $6.s0, HL2 ($1, $3));
|
{
|
||||||
|
notethat ("dsp32shiftimm: dregs_half = dregs_half << uimm4 (S)\n");
|
||||||
|
$$ = DSP32SHIFTIMM (0x0, &$1, imm5 ($5), &$3, $6.s0, HL2 ($1, $3));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
notethat ("dsp32shiftimm: dregs_half = dregs_half << uimm4\n");
|
||||||
|
$$ = DSP32SHIFTIMM (0x0, &$1, imm5 ($5), &$3, 2, HL2 ($1, $3));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return yyerror ("Bad shift value");
|
return yyerror ("Bad shift value");
|
||||||
|
Reference in New Issue
Block a user