mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
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:
parent
a763551ad5
commit
2ef6175aa7
100 changed files with 265 additions and 326 deletions
|
@ -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,
|
||||
|
|
|
@ -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) \
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#include "cpu.h"
|
||||
#include "qemu/host-utils.h"
|
||||
#include "helper.h"
|
||||
#include "exec/helper-proto.h"
|
||||
|
||||
//#define DEBUG_MULDIV
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "cpu.h"
|
||||
#include "qemu/log.h"
|
||||
#include "helper.h"
|
||||
#include "exec/helper-proto.h"
|
||||
|
||||
//#define DEBUG_PCALL
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
*/
|
||||
|
||||
#include "cpu.h"
|
||||
#include "helper.h"
|
||||
#include "exec/helper-proto.h"
|
||||
|
||||
/* SMM support */
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue