• 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: MOVQ Intrinsic?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MOVQ Intrinsic?


  • Subject: Re: MOVQ Intrinsic?
  • From: Paul Russell <email@hidden>
  • Date: Mon, 15 May 2006 11:23:05 +0100

Isn't it just _mm_storel_epi64 ?

Paul

On 15 May 2006, at 09:55, Ben Weiss wrote:

I have a bit of code that needs to store the low 8 bytes of an SSE register to an arbitrarily-aligned address. MOVQ looks like the right instruction for this, but it doesn't appear to have a built- in intrinsic. Apple's documentation states:

"SSE provides a rich set of scalar loads and stores. MOVQ and MOVD can be used to move 8- and 4-byte integers to and from the low element on the XMM vector."

but gives no hint how to code this with intrinsics. In other words, my function is:

// ____ store low 8 bytes of v to unaligned address p
void Store64(char* p, vSInt8 v);

How do I code this?

_______________________________________________
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


  • Follow-Ups:
    • Re: MOVQ Intrinsic?
      • From: Ben Weiss <email@hidden>
References: 
 >MOVQ Intrinsic? (From: Ben Weiss <email@hidden>)

  • Prev by Date: Re: Compiler optimization doing strange things
  • Next by Date: Re: Miscellaneous XCode Questions
  • Previous by thread: MOVQ Intrinsic?
  • Next by thread: Re: MOVQ Intrinsic?
  • Index(es):
    • Date
    • Thread