On Fri, Jan 14, 2011 at 11:26:21PM +, Stuart Brady wrote:
> On Thu, Jan 13, 2011 at 09:56:35AM +0100, Edgar E. Iglesias wrote:
> > On Wed, Jan 12, 2011 at 08:13:45PM -0500, Mike Frysinger wrote:
> > > are there any rules with the tcg sar/shl/shr ops and their magnitudes
> > > ? such as "magnit
On Thu, Jan 13, 2011 at 09:56:35AM +0100, Edgar E. Iglesias wrote:
> On Wed, Jan 12, 2011 at 08:13:45PM -0500, Mike Frysinger wrote:
> > are there any rules with the tcg sar/shl/shr ops and their magnitudes
> > ? such as "magnitudes cannot be larger than the register size" ?
>
> Yes, the result i
On Wed, Jan 12, 2011 at 08:13:45PM -0500, Mike Frysinger wrote:
> are there any rules with the tcg sar/shl/shr ops and their magnitudes
> ? such as "magnitudes cannot be larger than the register size" ?
Yes, the result is undefined in those cases.
> i have a 32bit register with the value of 0x1
are there any rules with the tcg sar/shl/shr ops and their magnitudes
? such as "magnitudes cannot be larger than the register size" ?
i have a 32bit register with the value of 0x1230002 and when i attempt
to do a sari with a value >=32, it gives me 0x918001 (a single shift
right has been done).