mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
Move target-* CPU file into a target/ folder
We've currently got 18 architectures in QEMU, and thus 18 target-xxx folders in the root folder of the QEMU source tree. More architectures (e.g. RISC-V, AVR) are likely to be included soon, too, so the main folder of the QEMU sources slowly gets quite overcrowded with the target-xxx folders. To disburden the main folder a little bit, let's move the target-xxx folders into a dedicated target/ folder, so that target-xxx/ simply becomes target/xxx/ instead. Acked-by: Laurent Vivier <laurent@vivier.eu> [m68k part] Acked-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de> [tricore part] Acked-by: Michael Walle <michael@walle.cc> [lm32 part] Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> [s390x part] Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com> [s390x part] Acked-by: Eduardo Habkost <ehabkost@redhat.com> [i386 part] Acked-by: Artyom Tarasenko <atar4qemu@gmail.com> [sparc part] Acked-by: Richard Henderson <rth@twiddle.net> [alpha part] Acked-by: Max Filippov <jcmvbkbc@gmail.com> [xtensa part] Reviewed-by: David Gibson <david@gibson.dropbear.id.au> [ppc part] Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> [crisµblaze part] Acked-by: Guan Xuetao <gxt@mprc.pku.edu.cn> [unicore32 part] Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
82ecffa8c0
commit
fcf5ef2ab5
369 changed files with 78 additions and 80 deletions
65
target/unicore32/helper.h
Normal file
65
target/unicore32/helper.h
Normal file
|
@ -0,0 +1,65 @@
|
|||
/*
|
||||
* Copyright (C) 2010-2012 Guan Xuetao
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License version 2 as
|
||||
* published by the Free Software Foundation, or (at your option) any
|
||||
* later version. See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_USER_ONLY
|
||||
DEF_HELPER_4(cp0_set, void, env, i32, i32, i32)
|
||||
DEF_HELPER_3(cp0_get, i32, env, i32, i32)
|
||||
DEF_HELPER_1(cp1_putc, void, i32)
|
||||
#endif
|
||||
|
||||
DEF_HELPER_1(clz, i32, i32)
|
||||
DEF_HELPER_1(clo, i32, i32)
|
||||
|
||||
DEF_HELPER_2(exception, void, env, i32)
|
||||
|
||||
DEF_HELPER_3(asr_write, void, env, i32, i32)
|
||||
DEF_HELPER_1(asr_read, i32, env)
|
||||
|
||||
DEF_HELPER_2(get_user_reg, i32, env, i32)
|
||||
DEF_HELPER_3(set_user_reg, void, env, i32, i32)
|
||||
|
||||
DEF_HELPER_3(add_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(adc_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(sub_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(sbc_cc, i32, env, i32, i32)
|
||||
|
||||
DEF_HELPER_2(shl, i32, i32, i32)
|
||||
DEF_HELPER_2(shr, i32, i32, i32)
|
||||
DEF_HELPER_2(sar, i32, i32, i32)
|
||||
DEF_HELPER_3(shl_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(shr_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(sar_cc, i32, env, i32, i32)
|
||||
DEF_HELPER_3(ror_cc, i32, env, i32, i32)
|
||||
|
||||
DEF_HELPER_1(ucf64_get_fpscr, i32, env)
|
||||
DEF_HELPER_2(ucf64_set_fpscr, void, env, i32)
|
||||
|
||||
DEF_HELPER_3(ucf64_adds, f32, f32, f32, env)
|
||||
DEF_HELPER_3(ucf64_addd, f64, f64, f64, env)
|
||||
DEF_HELPER_3(ucf64_subs, f32, f32, f32, env)
|
||||
DEF_HELPER_3(ucf64_subd, f64, f64, f64, env)
|
||||
DEF_HELPER_3(ucf64_muls, f32, f32, f32, env)
|
||||
DEF_HELPER_3(ucf64_muld, f64, f64, f64, env)
|
||||
DEF_HELPER_3(ucf64_divs, f32, f32, f32, env)
|
||||
DEF_HELPER_3(ucf64_divd, f64, f64, f64, env)
|
||||
DEF_HELPER_1(ucf64_negs, f32, f32)
|
||||
DEF_HELPER_1(ucf64_negd, f64, f64)
|
||||
DEF_HELPER_1(ucf64_abss, f32, f32)
|
||||
DEF_HELPER_1(ucf64_absd, f64, f64)
|
||||
DEF_HELPER_4(ucf64_cmps, void, f32, f32, i32, env)
|
||||
DEF_HELPER_4(ucf64_cmpd, void, f64, f64, i32, env)
|
||||
|
||||
DEF_HELPER_2(ucf64_sf2df, f64, f32, env)
|
||||
DEF_HELPER_2(ucf64_df2sf, f32, f64, env)
|
||||
|
||||
DEF_HELPER_2(ucf64_si2sf, f32, f32, env)
|
||||
DEF_HELPER_2(ucf64_si2df, f64, f32, env)
|
||||
|
||||
DEF_HELPER_2(ucf64_sf2si, f32, f32, env)
|
||||
DEF_HELPER_2(ucf64_df2si, f32, f64, env)
|
Loading…
Add table
Add a link
Reference in a new issue