tcg: Invert the inclusion of helper.h

Rather than include helper.h with N values of GEN_HELPER, include a
secondary file that sets up the macros to include helper.h.  This
minimizes the files that must be rebuilt when changing the macros
for file N.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
Richard Henderson 2014-04-07 22:31:41 -07:00
parent a763551ad5
commit 2ef6175aa7
100 changed files with 265 additions and 326 deletions

View file

@ -18,7 +18,7 @@
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
const uint8_t parity_table[256] = {
CC_P, 0, 0, CC_P, 0, CC_P, CC_P, 0,

View file

@ -20,7 +20,7 @@
#include "cpu.h"
#include "qemu/log.h"
#include "sysemu/sysemu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#if 0
#define raise_exception_err(env, a, b) \

View file

@ -19,7 +19,7 @@
#include <math.h>
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "qemu/aes.h"
#include "qemu/host-utils.h"

View file

@ -1,5 +1,3 @@
#include "exec/def-helper.h"
DEF_HELPER_FLAGS_4(cc_compute_all, TCG_CALL_NO_RWG_SE, tl, tl, tl, tl, int)
DEF_HELPER_FLAGS_4(cc_compute_c, TCG_CALL_NO_RWG_SE, tl, tl, tl, tl, int)
@ -219,5 +217,3 @@ DEF_HELPER_3(rcrl, tl, env, tl, tl)
DEF_HELPER_3(rclq, tl, env, tl, tl)
DEF_HELPER_3(rcrq, tl, env, tl, tl)
#endif
#include "exec/def-helper.h"

View file

@ -19,7 +19,7 @@
#include "cpu.h"
#include "qemu/host-utils.h"
#include "helper.h"
#include "exec/helper-proto.h"
//#define DEBUG_MULDIV

View file

@ -18,7 +18,7 @@
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#if !defined(CONFIG_USER_ONLY)
#include "exec/softmmu_exec.h"

View file

@ -19,7 +19,7 @@
#include "cpu.h"
#include "exec/ioport.h"
#include "helper.h"
#include "exec/helper-proto.h"
#if !defined(CONFIG_USER_ONLY)
#include "exec/softmmu_exec.h"

View file

@ -20,7 +20,7 @@
#include "cpu.h"
#include "qemu/log.h"
#include "helper.h"
#include "exec/helper-proto.h"
//#define DEBUG_PCALL

View file

@ -18,7 +18,7 @@
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
/* SMM support */

View file

@ -19,7 +19,7 @@
#include "cpu.h"
#include "exec/cpu-all.h"
#include "helper.h"
#include "exec/helper-proto.h"
#if !defined(CONFIG_USER_ONLY)
#include "exec/softmmu_exec.h"

View file

@ -28,9 +28,8 @@
#include "disas/disas.h"
#include "tcg-op.h"
#include "helper.h"
#define GEN_HELPER 1
#include "helper.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#define PREFIX_REPZ 0x01
#define PREFIX_REPNZ 0x02