]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/s390/tcg-target.inc.c
tcg: Pass the opcode width to target_parse_constraint
authorRichard Henderson <rth@twiddle.net>
Fri, 18 Nov 2016 10:50:59 +0000 (11:50 +0100)
committerRichard Henderson <rth@twiddle.net>
Tue, 10 Jan 2017 16:06:11 +0000 (08:06 -0800)
commit069ea736b50b75fdec99c9b8cc603b97bd98419e
treec2d717658df79279163c7c333aa1c4b3e043c1f5
parentf69d277ece43c42c7ab0144c2ff05ba740f6706b
tcg: Pass the opcode width to target_parse_constraint

This will let us choose how to interpret a given constraint
depending on whether the opcode is 32- or 64-bit.  Which will
let us share more constraint combinations between opcodes.

At the same time, change the interface to return the advanced
pointer instead of passing it in/out by reference.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/aarch64/tcg-target.inc.c
tcg/arm/tcg-target.inc.c
tcg/i386/tcg-target.inc.c
tcg/ia64/tcg-target.inc.c
tcg/mips/tcg-target.inc.c
tcg/ppc/tcg-target.inc.c
tcg/s390/tcg-target.inc.c
tcg/sparc/tcg-target.inc.c
tcg/tcg.c
tcg/tci/tcg-target.inc.c