The System V ABI on x86-64 specifies that the al register contains an upper bound of the number of arguments passed in vector registers when calling variadic functions, so we aren't allowed to clobber it. checkasm_fail_func() is a variadic function so also zero al before calling it. Signed-off-by: Anton Khirnov <anton@khirnov.net> |
10 years ago | |
|---|---|---|
| .. | ||
| Makefile | Checkasm: assembly testing and benchmarking tool | 10 years ago |
| checkasm.asm | checkasm/x86: Correctly handle variadic functions | 10 years ago |