[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 738
  • Last Modified:

SSE3 support in MSVC

Dear all,

http://www.intel.com/cd/ids/developer/asmo-na/eng/167741.htm?prn=Y
THe website described the support for SSE3 using MASM.

However, if I want to use inline assembly, what are the things I need to do for compilation in MSVC?
It seems that I need to tell masm ml.exe to use an include file "ia_pni.inc". How do i automatically invoke this from MSVC for inline assembler?

THank you.
0
hengck23
Asked:
hengck23
1 Solution
 
grg99Commented:
The inline assembler IIRC doesnt have macro abilities, and that's how ia_pni.inc defines the new instructions.  Cant get there from here.

You'll have to separately assemble the code using MASM and link it in.




0
 
hengck23Author Commented:
i am thinking that _asm _emit can do the trick
0
 
a_yurichCommented:
Use the Intel intrincs for SSE3 without assembly
0
 
mbizupCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I will leave the following recommendation for this question in the Cleanup topic area:
    Accept: grg99 {http:#12538586}

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

mbizup
EE Cleanup Volunteer
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now