tcg: Always define all of the TCGOpcode enum members.
By always defining these symbols, we can eliminate a lot of ifdefs. To allow this to be checked reliably, the semantics of the TCG_TARGET_HAS_* macros must be changed from def/undef to true/false. This allows even more ifdefs to be removed, converting them into C if statements. Signed-off-by:Richard Henderson <rth@twiddle.net> Signed-off-by:
Blue Swirl <blauwirbel@gmail.com>
Showing
- tcg/arm/tcg-target.h 16 additions, 14 deletionstcg/arm/tcg-target.h
- tcg/hppa/tcg-target.h 16 additions, 13 deletionstcg/hppa/tcg-target.h
- tcg/i386/tcg-target.h 35 additions, 33 deletionstcg/i386/tcg-target.h
- tcg/ia64/tcg-target.h 35 additions, 31 deletionstcg/ia64/tcg-target.h
- tcg/mips/tcg-target.h 16 additions, 15 deletionstcg/mips/tcg-target.h
- tcg/optimize.c 22 additions, 134 deletionstcg/optimize.c
- tcg/ppc/tcg-target.h 16 additions, 15 deletionstcg/ppc/tcg-target.h
- tcg/ppc64/tcg-target.h 35 additions, 33 deletionstcg/ppc64/tcg-target.h
- tcg/s390/tcg-target.h 35 additions, 33 deletionstcg/s390/tcg-target.h
- tcg/sparc/tcg-target.h 35 additions, 33 deletionstcg/sparc/tcg-target.h
- tcg/tcg-op.h 446 additions, 500 deletionstcg/tcg-op.h
- tcg/tcg-opc.h 88 additions, 154 deletionstcg/tcg-opc.h
- tcg/tcg.c 4 additions, 0 deletionstcg/tcg.c
- tcg/tcg.h 38 additions, 0 deletionstcg/tcg.h
Loading
Please register or sign in to comment