r239896 - Fix clang/test/Headers/x86intrin-2.c. _readfsbase_u32() is provided in not i686 but x86-64.

Eric Christopher echristo at gmail.com
Wed Jun 17 10:55:19 PDT 2015


Ah, thanks. I tried to get ones that were either, maybe I'll swap it around.

-eric

On Wed, Jun 17, 2015 at 3:48 AM NAKAMURA Takumi <geek4civic at gmail.com>
wrote:

> Author: chapuni
> Date: Wed Jun 17 05:40:51 2015
> New Revision: 239896
>
> URL: http://llvm.org/viewvc/llvm-project?rev=239896&view=rev
> Log:
> Fix clang/test/Headers/x86intrin-2.c. _readfsbase_u32() is provided in not
> i686 but x86-64.
>
> Modified:
>     cfe/trunk/test/Headers/x86intrin-2.c
>
> Modified: cfe/trunk/test/Headers/x86intrin-2.c
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/x86intrin-2.c?rev=239896&r1=239895&r2=239896&view=diff
>
> ==============================================================================
> --- cfe/trunk/test/Headers/x86intrin-2.c (original)
> +++ cfe/trunk/test/Headers/x86intrin-2.c Wed Jun 17 05:40:51 2015
> @@ -92,9 +92,11 @@ int __attribute__((__target__("rdrnd")))
>    return _rdrand16_step(p);
>  }
>
> +#if defined(__x86_64__)
>  unsigned int __attribute__((__target__("fsgsbase")))
> readfsbase_u32_wrap(void) {
>    return _readfsbase_u32();
>  }
> +#endif
>
>  unsigned int __attribute__((__target__("rtm"))) xbegin_wrap(void) {
>    return _xbegin();
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150617/3acb7a35/attachment.html>


More information about the cfe-commits mailing list