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

@ -17,7 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "helper_regs.h"

View file

@ -17,7 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
/*****************************************************************************/
/* Floating point operations helpers */

View file

@ -1,5 +1,3 @@
#include "exec/def-helper.h"
DEF_HELPER_3(raise_exception_err, void, env, i32, i32)
DEF_HELPER_2(raise_exception, void, env, i32)
DEF_HELPER_4(tw, void, env, tl, tl, i32)
@ -613,5 +611,3 @@ DEF_HELPER_3(store_dbatu, void, env, i32, tl)
DEF_HELPER_3(store_601_batl, void, env, i32, tl)
DEF_HELPER_3(store_601_batu, void, env, i32, tl)
#endif
#include "exec/def-helper.h"

View file

@ -18,7 +18,7 @@
*/
#include "cpu.h"
#include "qemu/host-utils.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "helper_regs.h"
/*****************************************************************************/

View file

@ -18,7 +18,7 @@
*/
#include "cpu.h"
#include "qemu/host-utils.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "helper_regs.h"

View file

@ -17,7 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "helper_regs.h"

View file

@ -19,7 +19,7 @@
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "mmu-hash32.h"

View file

@ -18,7 +18,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "mmu-hash64.h"

View file

@ -17,7 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
#include "sysemu/kvm.h"
#include "kvm_ppc.h"
#include "mmu-hash64.h"

View file

@ -17,7 +17,7 @@
* License along with this library; if not, see <http://www.gnu.org/licenses/>.
*/
#include "cpu.h"
#include "helper.h"
#include "exec/helper-proto.h"
/*****************************************************************************/
/* SPR accesses */

View file

@ -23,9 +23,8 @@
#include "tcg-op.h"
#include "qemu/host-utils.h"
#include "helper.h"
#define GEN_HELPER 1
#include "helper.h"
#include "exec/helper-proto.h"
#include "exec/helper-gen.h"
#define CPU_SINGLE_STEP 0x1
#define CPU_BRANCH_STEP 0x2