For MADD et.al. instructions sign extend 32 bit result assigned to a

register.
This commit is contained in:
Andrew Cagney 1997-12-13 04:23:31 +00:00
parent 599ef811c3
commit b17d2d1474
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,11 @@
start-sanitize-vr5400
Sat Dec 13 15:18:51 1997 Andrew Cagney <cagney@b1.cygnus.com>
* vr5400.igen (Low32Bits, High32Bits): Sign extend extracted 32
bit values.
end-sanitize-vr5400
start-sanitize-vr5400
Fri Dec 12 12:26:07 1997 Jeffrey A Law (law@cygnus.com)
* configure.in (sim_igen_filter): Multi-sim vr5000 - vr5000 or

View file

@ -35,13 +35,13 @@
:function:::unsigned64:Low32Bits:unsigned64 value
{
unsigned64 result = VL4_8 (value);
unsigned64 result = (signed64) (signed32) VL4_8 (value);
return result;
}
:function:::unsigned64:High32Bits:unsigned64 value
{
unsigned64 result = VH4_8 (value);
unsigned64 result = (signed64) (signed32) VH4_8 (value);
return result;
}