RDRAND bug

Taylor Hornby <[email protected]> Fri, 06 Dec 2013 16:10:44 -0700
Newsgroups gmane.comp.emulators.bochs.devel
Organization https://defuse.ca/
Message-ID <[email protected]>
There is a bug in the RDRAND instruction. All variants of RDRAND call
BX_CPU_C::RDRAND_Ew instead of BX_CPU_C::RDRAND_Ed (or Eq). This is
because in ia_opcodes.h, they all have RDRAND_Ew and not the one they
are supposed to have. RDSEED has the same problem.

Changing them to what they are supposed to be fixes it.

Thanks,
-- 
Taylor Hornby

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk