x86-64-asm: Accept high register in clobbers
commita2a596e76724a7915361b4d0f1b5553929d26a31
authorMichael Matz <matz@suse.de>
Sat, 8 Oct 2016 20:50:16 +0000 (8 22:50 +0200)
committerMichael Matz <matz@suse.de>
Thu, 15 Dec 2016 16:49:55 +0000 (15 17:49 +0100)
tree2cc4185467b9003c95ce8e079dd11f9723e8c1d6
parentddd461dcc866d17f1c89137dc275ce1da95e7be2
x86-64-asm: Accept high register in clobbers

The callee saved registers (among them r12-r15) really need
saving/restoring if mentioned in asm clobbers, even if TCC
itself doesn't use them.  E.g. the linux kernel relies on that
in its switch_to() implementation.
i386-asm.c
tests/tcctest.c
x86_64-gen.c