GP-3211: Refactored pcodetest scripts

This commit is contained in:
ghidorahrex 2023-08-15 15:53:42 +00:00
parent 8936bf9d55
commit 8004108681
7 changed files with 95 additions and 35 deletions

View file

@ -219,6 +219,32 @@ PCodeTest({
'architecture_test': 'PARISC',
})
PCodeTest({
'name': 'Loongarch64',
'build_all': 1,
'build_exe': 0,
'gcc_version': '12.3.0',
'qemu_command': 'qemu-loongarch64',
'target': 'loongson-linux',
'toolchain': '%(name)s/%(target)s', #%(toolchain_dir)s/lib/gcc/loongarch64-linux/%(gcc_version)s
'ccflags': '-march=loongarch64 -mabi=lp64d -L /local/cross/lib/gcc/loongarch64-linux/12.3.0/ -lgcc',
'language_id': 'Loongarch:LE:64:default',
#'has_longlong': 0,
})
PCodeTest({
'name': 'Loongarch64f',
'build_all': 1,
'build_exe': 0,
'gcc_version': '12.3.0',
'qemu_command': 'qemu-loongarch64',
'target': 'loongson-linux',
'toolchain': 'Loongarch64/%(target)s', #%(toolchain_dir)s/lib/gcc/loongarch64-linux/%(gcc_version)s
'ccflags': '-march=loongarch64 -mabi=lp64f -mfpu=32 -L /local/cross/lib/gcc/loongarch64-linux/12.3.0/ -lgcc',
'language_id': 'Loongarch:LE:64:lp64f',
'has_double': 0,
})
# Note that libgcc.a was built for m68020 which has a different function calling convention from pre-68020