Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1361687 - fix osx build-bot bustage, r=ttaubert
Differential Revision: https://nss-review.dev.mozaws.net/D304

--HG--
extra : amend_source : afd3844cf1241df83afa2fb5e0fe2c36fd3d7d89
  • Loading branch information
franziskuskiefer committed May 3, 2017
1 parent 0997a52 commit 4c62732
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/freebl/blinit.c
Expand Up @@ -47,7 +47,8 @@ check_xcr0_ymm()
xcr0 = (PRUint32)_xgetbv(0); /* Requires VS2010 SP1 or later. */
#endif /* _M_IX86 */
#else /* _MSC_VER */
__asm__("xgetbv"
/* Old OSX compilers don't support xgetbv. Use byte form. */
__asm__(".byte 0x0F, 0x01, 0xd0"
: "=a"(xcr0)
: "c"(0)
: "%edx");
Expand Down

0 comments on commit 4c62732

Please sign in to comment.