public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Gao, Liming" <liming.gao@intel.com>
To: "Tiger Liu(BJ-RD)" <TigerLiu@zhaoxin.com>,
	"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: How to use compiler intrinsic function, such as :mmintrin.h
Date: Tue, 6 Feb 2018 04:39:06 +0000	[thread overview]
Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1C7CE9@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <c0a1ce1cc3f04930a1d81d4654059531@zhaoxin.com>

Tiger:
  Yes. EDK2 doesn't support the intrinsic function. Because edk2 compiled EFI image run in target machine instead of OS, they can't link VS system libraries. 

  And, EDK2 doesn't support to specify the include path in BuildOptions. If you want to use EDK2 build system to compile EXE file that run in OS, such as SecMain, you can compile it with system header file and library. The system header file include path is set in ENV include. If you type set include, you will se its value. 

Thanks
Liming
>-----Original Message-----
>From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
>Tiger Liu(BJ-RD)
>Sent: Monday, February 05, 2018 5:06 PM
>To: edk2-devel@lists.01.org
>Subject: Re: [edk2] [EDK2] How to use compiler intrinsic function, such
>as :mmintrin.h
>
>Hi, experts:
>I have a question about how to direct compiler to search dedicated include
>directory.
>Such as:
>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include
>
>I tried to tell  compiler through “/I” parameter.
>“/I C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include”
>
>But failed.
>
>Best wishes,
>发件人: Tiger Liu(BJ-RD)
>发送时间: 2018年2月2日 19:08
>收件人: edk2-devel@lists.01.org
>主题: [EDK2] How to use compiler intrinsic function, such as :mmintrin.h
>
>Hi, experts:
>I have a question about using compiler’s intrinsic function.
>It seems EDKII’s compiler option doesn’t support using intrinsic function.
>
>Such as:
>mmintrin.h      MMX
>xmmintrin.h    SSE
>emmintrin.h   SSE2
>pmmintrin.h   SSE3
>tmmintrin.h    SSSE3
>intrin.h             SSE4A
>smmintrin.h   SSE4.1
>nmmintrin.h   SSE4.2
>mm3dnow.h  3DNOW
>
>Thanks
>
>Best wishes,
>
>
>保密声明:
>本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其
>内容做任何未经授权的查阅、使用、复制或转发。
>CONFIDENTIAL NOTE:
>This email contains confidential or legally privileged information and is for the
>sole use of its intended recipient. Any unauthorized review, use, copying or
>forwarding of this email or the content of this email is strictly prohibited.
>_______________________________________________
>edk2-devel mailing list
>edk2-devel@lists.01.org
>https://lists.01.org/mailman/listinfo/edk2-devel

  reply	other threads:[~2018-02-06  4:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-05  9:05 How to use compiler intrinsic function, such as :mmintrin.h Tiger Liu(BJ-RD)
2018-02-06  4:39 ` Gao, Liming [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-06  8:53 Tiger Liu(BJ-RD)
2018-02-06  4:57 Tiger Liu(BJ-RD)
2018-02-06  5:00 ` Andrew Fish
2018-02-02 11:08 Tiger Liu(BJ-RD)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A89E2EF3DFEDB4C8BFDE51014F606A14E1C7CE9@SHSMSX104.ccr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox