hwf-x86: add EDX as output register for xgetbv asm block
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 4 May 2015 17:09:51 +0000 (20:09 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Thu, 14 May 2015 06:28:33 +0000 (09:28 +0300)
commite15beb584a5ebdfc363e1ff15f87102508652d71
tree290947175249b2470616c83e7d7c1c0ae297d329
parent5a7d55eed3316f40ca61acbee032bfc285e28803
hwf-x86: add EDX as output register for xgetbv asm block

* src/hwf-x86.c (get_xgetbv): Add EDX as output.
--

XGETBV instruction modifies EAX:EDX register pair, so we need to mark
EDX as output to let compiler know that contents in this register are
lost.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
src/hwf-x86.c