base/dispatch.c, base/dispatch-x86ish.S: Add opcode to `rdrand_works_p'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 6 Apr 2020 00:02:41 +0000 (00:02 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 9 May 2020 19:57:33 +0000 (20:57 +0100)
commit1b07c4f340465551b7d12c3be3bcecd258a3c32d
tree9f9c2f2b8fad691666937002f143b1d6b217dbc4
parent0ed9f882cdf9d0b4428459f7d5496610d53ca4c9
base/dispatch.c, base/dispatch-x86ish.S: Add opcode to `rdrand_works_p'.

I want to add support foer the `rdseed' instruction, but this might be
broken on AMD64 like `rdrand'.  Rather than duplicate this logic, add an
opcode argument to the checking functions.
base/dispatch-x86ish.S
base/dispatch.c