• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Why is UInt32 << 32 a no-op?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why is UInt32 << 32 a no-op?


  • Subject: Re: Why is UInt32 << 32 a no-op?
  • From: Jens Ayton <email@hidden>
  • Date: Tue, 17 Nov 2009 23:34:59 +0100

On Nov 17, 2009, at 23:28, Jonas Maebe wrote:
>
>
> rlwnm cannot be used for a variable shift left on ppc (since MB and ME are constants). You have to use slw instead, and that one makes the result 0 if bit 58 is 1 (IBM always numbers bits starting from the most significant bit, so that bit corresponds to 1 << 5).

Oops! Good catch, thanks.


--
Jens Ayton

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Why is UInt32 << 32 a no-op? (From: Jens Alfke <email@hidden>)
 >Re: Why is UInt32 << 32 a no-op? (From: Jocelyn Houle <email@hidden>)
 >Re: Why is UInt32 << 32 a no-op? (From: Alastair Houghton <email@hidden>)
 >Re: Why is UInt32 << 32 a no-op? (From: Jens Ayton <email@hidden>)
 >Re: Why is UInt32 << 32 a no-op? (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Re: Why is UInt32 << 32 a no-op?
  • Next by Date: Conditional Build Setting issue
  • Previous by thread: Re: Why is UInt32 << 32 a no-op?
  • Next by thread: Re: Why is UInt32 << 32 a no-op?
  • Index(es):
    • Date
    • Thread