On Thu, Sep 6, 2012 at 2:40 PM, Jack Howarth wrote:
> Okay for gcc trunk?
One typo:
> * configure.ac: Test for rdrnd support in assembler.
It's rdrand. I wouldn't be pedantic if the opcode wouldn't have
changed from rdrnd to rdrand at some point and using the old name
could be confusin
The attached patch eliminates the bootstrap failures in libstdc++-v3
of PR 54419 by having configure check for assembler support of the new
rdrnd opcode and defining _GLIBCXX_X86_RDRAND in config.h if supported.
Tested on x86_64-apple-darwin12 against the assembler from Xcode 4.4.1.
Okay for gc