mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 11:39:26 +08:00
* config/tc-mips.c (load_address): Use non-trapping "daddu"
instead of "dadd" in address calculations. (macro): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2002-07-08 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
|
||||||
|
|
||||||
|
* config/tc-mips.c (load_address): Use non-trapping "daddu"
|
||||||
|
instead of "dadd" in address calculations.
|
||||||
|
(macro): Likewise.
|
||||||
|
|
||||||
2002-07-08 Alan Modra <amodra@bigpond.net.au>
|
2002-07-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
|
* config/tc-i386.c (process_suffix): Remove intel mode movsx and
|
||||||
|
@ -3528,7 +3528,7 @@ load_address (counter, reg, ep, used_at)
|
|||||||
daddiu $reg,<sym> (BFD_RELOC_MIPS_HIGHER)
|
daddiu $reg,<sym> (BFD_RELOC_MIPS_HIGHER)
|
||||||
daddiu $at,<sym> (BFD_RELOC_LO16)
|
daddiu $at,<sym> (BFD_RELOC_LO16)
|
||||||
dsll32 $reg,0
|
dsll32 $reg,0
|
||||||
dadd $reg,$reg,$at
|
daddu $reg,$reg,$at
|
||||||
|
|
||||||
If $at is already in use, we use an path which is suboptimal
|
If $at is already in use, we use an path which is suboptimal
|
||||||
on superscalar processors.
|
on superscalar processors.
|
||||||
@ -3556,7 +3556,7 @@ load_address (counter, reg, ep, used_at)
|
|||||||
AT, AT, (int) BFD_RELOC_LO16);
|
AT, AT, (int) BFD_RELOC_LO16);
|
||||||
macro_build (p, counter, (expressionS *) NULL, "dsll32",
|
macro_build (p, counter, (expressionS *) NULL, "dsll32",
|
||||||
"d,w,<", reg, reg, 0);
|
"d,w,<", reg, reg, 0);
|
||||||
macro_build (p, counter, (expressionS *) NULL, "dadd",
|
macro_build (p, counter, (expressionS *) NULL, "daddu",
|
||||||
"d,v,t", reg, reg, AT);
|
"d,v,t", reg, reg, AT);
|
||||||
*used_at = 1;
|
*used_at = 1;
|
||||||
}
|
}
|
||||||
@ -4542,7 +4542,7 @@ macro (ip)
|
|||||||
daddiu $tempreg,<sym> (BFD_RELOC_MIPS_HIGHER)
|
daddiu $tempreg,<sym> (BFD_RELOC_MIPS_HIGHER)
|
||||||
daddiu $at,<sym> (BFD_RELOC_LO16)
|
daddiu $at,<sym> (BFD_RELOC_LO16)
|
||||||
dsll32 $tempreg,0
|
dsll32 $tempreg,0
|
||||||
dadd $tempreg,$tempreg,$at
|
daddu $tempreg,$tempreg,$at
|
||||||
|
|
||||||
If $at is already in use, we use an path which is suboptimal
|
If $at is already in use, we use an path which is suboptimal
|
||||||
on superscalar processors.
|
on superscalar processors.
|
||||||
@ -4571,8 +4571,8 @@ macro (ip)
|
|||||||
AT, AT, (int) BFD_RELOC_LO16);
|
AT, AT, (int) BFD_RELOC_LO16);
|
||||||
macro_build (p, &icnt, (expressionS *) NULL, "dsll32",
|
macro_build (p, &icnt, (expressionS *) NULL, "dsll32",
|
||||||
"d,w,<", tempreg, tempreg, 0);
|
"d,w,<", tempreg, tempreg, 0);
|
||||||
macro_build (p, &icnt, (expressionS *) NULL, "dadd", "d,v,t",
|
macro_build (p, &icnt, (expressionS *) NULL, "daddu",
|
||||||
tempreg, tempreg, AT);
|
"d,v,t", tempreg, tempreg, AT);
|
||||||
used_at = 1;
|
used_at = 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user