"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "target/hexagon/meson.build" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

meson.build  (qemu-6.0.0-rc1.tar.xz):meson.build  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 36 skipping to change at line 36
# We use a C program to create semantics_generated.pyinc # We use a C program to create semantics_generated.pyinc
# #
gen_semantics = executable( gen_semantics = executable(
'gen_semantics', 'gen_semantics',
'gen_semantics.c', 'gen_semantics.c',
native: true, build_by_default: false) native: true, build_by_default: false)
semantics_generated = custom_target( semantics_generated = custom_target(
'semantics_generated.pyinc', 'semantics_generated.pyinc',
output: 'semantics_generated.pyinc', output: 'semantics_generated.pyinc',
input: gen_semantics, command: [gen_semantics, '@OUTPUT@'],
command: ['@INPUT@', '@OUTPUT@'],
) )
hexagon_ss.add(semantics_generated) hexagon_ss.add(semantics_generated)
# #
# Step 2 # Step 2
# We use Python scripts to generate the following files # We use Python scripts to generate the following files
# shortcode_generated.h.inc # shortcode_generated.h.inc
# helper_protos_generated.h.inc # helper_protos_generated.h.inc
# tcg_funcs_generated.c.inc # tcg_funcs_generated.c.inc
# tcg_func_table_generated.c.inc # tcg_func_table_generated.c.inc
# helper_funcs_generated.c.inc # helper_funcs_generated.c.inc
# printinsn_generated.h.inc # printinsn_generated.h.inc
# op_regs_generated.h.inc # op_regs_generated.h.inc
# op_attribs_generated.h.inc # op_attribs_generated.h.inc
# opcodes_def_generated.h.inc # opcodes_def_generated.h.inc
# #
shortcode_generated = custom_target( shortcode_generated = custom_target(
'shortcode_generated.h.inc', 'shortcode_generated.h.inc',
output: 'shortcode_generated.h.inc', output: 'shortcode_generated.h.inc',
input: 'gen_shortcode.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_shortcode.py'), semantics_generated, attribs_de f, '@OUTPUT@'],
) )
hexagon_ss.add(shortcode_generated) hexagon_ss.add(shortcode_generated)
helper_protos_generated = custom_target( helper_protos_generated = custom_target(
'helper_protos_generated.h.inc', 'helper_protos_generated.h.inc',
output: 'helper_protos_generated.h.inc', output: 'helper_protos_generated.h.inc',
input: 'gen_helper_protos.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def, gen_tcg_h], depend_files: [hex_common_py, attribs_def, gen_tcg_h],
command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg_h, '@ OUTPUT@'], command: [python, files('gen_helper_protos.py'), semantics_generated, attrib s_def, gen_tcg_h, '@OUTPUT@'],
) )
hexagon_ss.add(helper_protos_generated) hexagon_ss.add(helper_protos_generated)
tcg_funcs_generated = custom_target( tcg_funcs_generated = custom_target(
'tcg_funcs_generated.c.inc', 'tcg_funcs_generated.c.inc',
output: 'tcg_funcs_generated.c.inc', output: 'tcg_funcs_generated.c.inc',
input: 'gen_tcg_funcs.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def, gen_tcg_h], depend_files: [hex_common_py, attribs_def, gen_tcg_h],
command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg_h, '@ OUTPUT@'], command: [python, files('gen_tcg_funcs.py'), semantics_generated, attribs_de f, gen_tcg_h, '@OUTPUT@'],
) )
hexagon_ss.add(tcg_funcs_generated) hexagon_ss.add(tcg_funcs_generated)
tcg_func_table_generated = custom_target( tcg_func_table_generated = custom_target(
'tcg_func_table_generated.c.inc', 'tcg_func_table_generated.c.inc',
output: 'tcg_func_table_generated.c.inc', output: 'tcg_func_table_generated.c.inc',
input: 'gen_tcg_func_table.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_tcg_func_table.py'), semantics_generated, attri bs_def, '@OUTPUT@'],
) )
hexagon_ss.add(tcg_func_table_generated) hexagon_ss.add(tcg_func_table_generated)
helper_funcs_generated = custom_target( helper_funcs_generated = custom_target(
'helper_funcs_generated.c.inc', 'helper_funcs_generated.c.inc',
output: 'helper_funcs_generated.c.inc', output: 'helper_funcs_generated.c.inc',
input: 'gen_helper_funcs.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def, gen_tcg_h], depend_files: [hex_common_py, attribs_def, gen_tcg_h],
command: [python, '@INPUT@', semantics_generated, attribs_def, gen_tcg_h, '@ OUTPUT@'], command: [python, files('gen_helper_funcs.py'), semantics_generated, attribs _def, gen_tcg_h, '@OUTPUT@'],
) )
hexagon_ss.add(helper_funcs_generated) hexagon_ss.add(helper_funcs_generated)
printinsn_generated = custom_target( printinsn_generated = custom_target(
'printinsn_generated.h.inc', 'printinsn_generated.h.inc',
output: 'printinsn_generated.h.inc', output: 'printinsn_generated.h.inc',
input: 'gen_printinsn.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_printinsn.py'), semantics_generated, attribs_de f, '@OUTPUT@'],
) )
hexagon_ss.add(printinsn_generated) hexagon_ss.add(printinsn_generated)
op_regs_generated = custom_target( op_regs_generated = custom_target(
'op_regs_generated.h.inc', 'op_regs_generated.h.inc',
output: 'op_regs_generated.h.inc', output: 'op_regs_generated.h.inc',
input: 'gen_op_regs.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_op_regs.py'), semantics_generated, attribs_def, '@OUTPUT@'],
) )
hexagon_ss.add(op_regs_generated) hexagon_ss.add(op_regs_generated)
op_attribs_generated = custom_target( op_attribs_generated = custom_target(
'op_attribs_generated.h.inc', 'op_attribs_generated.h.inc',
output: 'op_attribs_generated.h.inc', output: 'op_attribs_generated.h.inc',
input: 'gen_op_attribs.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_op_attribs.py'), semantics_generated, attribs_d ef, '@OUTPUT@'],
) )
hexagon_ss.add(op_attribs_generated) hexagon_ss.add(op_attribs_generated)
opcodes_def_generated = custom_target( opcodes_def_generated = custom_target(
'opcodes_def_generated.h.inc', 'opcodes_def_generated.h.inc',
output: 'opcodes_def_generated.h.inc', output: 'opcodes_def_generated.h.inc',
input: 'gen_opcodes_def.py',
depends: [semantics_generated], depends: [semantics_generated],
depend_files: [hex_common_py, attribs_def], depend_files: [hex_common_py, attribs_def],
command: [python, '@INPUT@', semantics_generated, attribs_def, '@OUTPUT@'], command: [python, files('gen_opcodes_def.py'), semantics_generated, attribs_ def, '@OUTPUT@'],
) )
hexagon_ss.add(opcodes_def_generated) hexagon_ss.add(opcodes_def_generated)
# #
# Step 3 # Step 3
# We use a C program to create iset.py which is imported into dectree.py # We use a C program to create iset.py which is imported into dectree.py
# to create the decode tree # to create the decode tree
# #
gen_dectree_import = executable( gen_dectree_import = executable(
'gen_dectree_import', 'gen_dectree_import',
'gen_dectree_import.c', opcodes_def_generated, op_regs_generated, 'gen_dectree_import.c', opcodes_def_generated, op_regs_generated,
native: true, build_by_default: false) native: true, build_by_default: false)
iset_py = custom_target( iset_py = custom_target(
'iset.py', 'iset.py',
output: 'iset.py', output: 'iset.py',
input: gen_dectree_import, command: [gen_dectree_import, '@OUTPUT@'],
command: ['@INPUT@', '@OUTPUT@'],
) )
hexagon_ss.add(iset_py) hexagon_ss.add(iset_py)
# #
# Step 4 # Step 4
# We use the dectree.py script to generate the decode tree header file # We use the dectree.py script to generate the decode tree header file
# #
dectree_generated = custom_target( dectree_generated = custom_target(
'dectree_generated.h.inc', 'dectree_generated.h.inc',
output: 'dectree_generated.h.inc', output: 'dectree_generated.h.inc',
input: 'dectree.py',
depends: [iset_py], depends: [iset_py],
command: ['PYTHONPATH=' + meson.current_build_dir(), '@INPUT@', '@OUTPUT@'], command: ['env', 'PYTHONPATH=' + meson.current_build_dir(), files('dectree.p y'), '@OUTPUT@'],
) )
hexagon_ss.add(dectree_generated) hexagon_ss.add(dectree_generated)
hexagon_ss.add(files( hexagon_ss.add(files(
'cpu.c', 'cpu.c',
'translate.c', 'translate.c',
'op_helper.c', 'op_helper.c',
'gdbstub.c', 'gdbstub.c',
'genptr.c', 'genptr.c',
'reg_fields.c', 'reg_fields.c',
 End of changes. 22 change blocks. 
24 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)