Article View: gnu.gcc.help
Article #53402i860.md .. a little help ..
From: Dave Trinidad
Date: Thu, 16 Jan 1992 16:43
Date: Thu, 16 Jan 1992 16:43
29 lines
1597 bytes
1597 bytes
I'm porting gcc to a SYS5R4 i860 environment and I have most of the
port completed execpt for the example code fragment below:
if (which_alternative == 1)
return \"fiadd.ss %2,%1,%0\";
if (REG_P (operands[2]))
return \"addu %2,%1,%0\";
if (SMALL_INT (operands[2]))
return \"addu %2,%1,%0\";
cc_status.flags &= ~CC_KNOW_HI_R31;
return \"orh h%%%2,r0,r31\;or l%%%2,r31,r31\;addu %1,r31,%0\";
The assembler comming out is orh h65536,r0,r31; or l65536,r31,r31 ..
What does the 'h' token and 'l' token do in that insn ?
I have more instances of this in the i860.md file but if this is
explained I am on my way ....
---
*********************************************
David R. Trinidad #include <disclaimer.h>
Stratus Computer Systems (602) 852-3135
4455 East Camelback RD. #115A UNIX is a way of life ...
Phoenix AZ. 85018
Internet:
david_trinidad@az.stratus.com PHX Telecom CAC
********************************************
Technical Details
Message-ID:
<9201161643.AA01411@_jerome.az.stratus.com_>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jerome.az.stratus.com!dtriShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,8128452bc5308fed,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-01-16 13:53:31 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!ames!elroy.jpl.nasa.gov!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!jerome.az.stratus.com!dtri From: dtri@jerome.az.stratus.com (Dave Trinidad) Subject: i860.md .. a little help .. Message-ID: <9201161643.AA01411@_jerome.az.stratus.com_> Sender: daemon@cis.ohio-state.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 16 Jan 1992 16:43:22 GMT Lines: 29