tcg/i386: Split out target constraints to tcg-target-con-str.h
commit358b492392ad91d45a9714f7cd28fc1d83ffd8be
authorRichard Henderson <richard.henderson@linaro.org>
Fri, 16 Oct 2020 22:27:46 +0000 (16 15:27 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 2 Feb 2021 22:12:29 +0000 (2 12:12 -1000)
treed0ce2fcf2b5fef28011b0788913f5065e7ec2d04
parentdf903b94b3c6fa515da7cf2103513ade06ab0d0f
tcg/i386: Split out target constraints to tcg-target-con-str.h

This eliminates the target-specific function target_parse_constraint
and folds it into the single caller, process_op_defs.  Since this is
done directly into the switch statement, duplicates are compilation
errors rather than silently ignored at runtime.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target-con-str.h [new file with mode: 0644]
tcg/i386/tcg-target.c.inc
tcg/i386/tcg-target.h
tcg/tcg.c