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

MOVQ Intrinsic?


  • Subject: MOVQ Intrinsic?
  • From: Ben Weiss <email@hidden>
  • Date: Mon, 15 May 2006 01:55:22 -0700

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?

Thanks,
Ben
 _______________________________________________
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: Paul Russell <email@hidden>
  • Prev by Date: Re: X-Code installation question
  • Next by Date: Re: Compiler optimization doing strange things
  • Previous by thread: Re: Compiler optimization doing strange things
  • Next by thread: Re: MOVQ Intrinsic?
  • Index(es):
    • Date
    • Thread