checkasm: x86: properly save rdx/edx in checked_call()
authorHenrik Gramner <henrik@gramner.com>
Sun, 16 Aug 2015 15:58:02 +0000 (17:58 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 20 Aug 2015 17:22:06 +0000 (19:22 +0200)
commite13da244f41610ee073b2f72bcf62b60fa402bb5
tree96ee2b25ea98994274a3eac9b80c41123bf8ff3f
parentfaa3f17a76333b672ce4a40cf80f678ab68bdbae
checkasm: x86: properly save rdx/edx in checked_call()

If the return value doesn't fit in a single register rdx/edx can in some
cases be used in addition to rax/eax.

Doesn't affect any of the existing checkasm tests but might be useful later.

Also comment the relevant code a bit better.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
tests/checkasm/x86/checkasm.asm