Skip to contentSkip to conversation

target/arm: Move more files to tcg/

PATCH Applied Richard Henderson 4 participants 7 messages May 4, 2023 – May 9, 2023

lore
Share & tools
lore
#0 lore raw

cover target/arm: Move more files to tcg/

Move 7 files to tcg/.

r~

Richard Henderson (2):
target/arm: Move translate-a32.h, arm_ldst.h, sve_ldst_internal.h to
tcg/
target/arm: Move helper-{a64,mve,sme,sve}.h to tcg/

 target/arm/helper.h                      | 8 ++++----
 target/arm/{ => tcg}/arm_ldst.h          | 0
 target/arm/{ => tcg}/helper-a64.h        | 0
 target/arm/{ => tcg}/helper-mve.h        | 0
 target/arm/{ => tcg}/helper-sme.h        | 0
 target/arm/{ => tcg}/helper-sve.h        | 0
 target/arm/{ => tcg}/sve_ldst_internal.h | 0
 target/arm/{ => tcg}/translate-a32.h     | 0
 8 files changed, 4 insertions(+), 4 deletions(-)
 rename target/arm/{ => tcg}/arm_ldst.h (100%)
 rename target/arm/{ => tcg}/helper-a64.h (100%)
 rename target/arm/{ => tcg}/helper-mve.h (100%)
 rename target/arm/{ => tcg}/helper-sme.h (100%)
 rename target/arm/{ => tcg}/helper-sve.h (100%)
 rename target/arm/{ => tcg}/sve_ldst_internal.h (100%)
 rename target/arm/{ => tcg}/translate-a32.h (100%)
Signature · 1 line
2.34.1
#1 lore raw

PATCH 1/2 target/arm: Move translate-a32.h, arm_ldst.h, sve_ldst_internal.h to tcg/

These files got missed when populating tcg/.
Because they are included with "", no change to the users required.

---
 target/arm/{ => tcg}/arm_ldst.h          | 0
 target/arm/{ => tcg}/sve_ldst_internal.h | 0
 target/arm/{ => tcg}/translate-a32.h     | 0
 3 files changed, 0 insertions(+), 0 deletions(-)
 rename target/arm/{ => tcg}/arm_ldst.h (100%)
 rename target/arm/{ => tcg}/sve_ldst_internal.h (100%)
 rename target/arm/{ => tcg}/translate-a32.h (100%)
target/arm/tcg/arm_ldst.h renamed from target/arm/arm_ldst.h +0 -0
similarity index 100%
rename from target/arm/arm_ldst.h
rename to target/arm/tcg/arm_ldst.h
target/arm/tcg/sve_ldst_internal.h renamed from target/arm/sve_ldst_internal.h +0 -0
similarity index 100%
rename from target/arm/sve_ldst_internal.h
rename to target/arm/tcg/sve_ldst_internal.h
target/arm/tcg/translate-a32.h renamed from target/arm/translate-a32.h +0 -0
similarity index 100%
rename from target/arm/translate-a32.h
rename to target/arm/tcg/translate-a32.h
Signature · 1 line
2.34.1
#3 lore raw

PATCH 2/2 target/arm: Move helper-{a64,mve,sme,sve}.h to tcg/

In reply to Richard Henderson

While we cannot move the main "helper.h" out of target/arm/, due to usage by generic code, we can move the sub-includes.

---
 target/arm/helper.h               | 8 ++++----
 target/arm/{ => tcg}/helper-a64.h | 0
 target/arm/{ => tcg}/helper-mve.h | 0
 target/arm/{ => tcg}/helper-sme.h | 0
 target/arm/{ => tcg}/helper-sve.h | 0
 5 files changed, 4 insertions(+), 4 deletions(-)
 rename target/arm/{ => tcg}/helper-a64.h (100%)
 rename target/arm/{ => tcg}/helper-mve.h (100%)
 rename target/arm/{ => tcg}/helper-sme.h (100%)
 rename target/arm/{ => tcg}/helper-sve.h (100%)
target/arm/helper.h +4 -4
index 018b00ea75..3335c2b10b 100644
@@ -1039,9 +1039,9 @@ DEF_HELPER_FLAGS_5(gvec_uclamp_d, TCG_CALL_NO_RWG,
                    void, ptr, ptr, ptr, ptr, i32)
 
 #ifdef TARGET_AARCH64
-#include "helper-a64.h"
-#include "helper-sve.h"
-#include "helper-sme.h"
+#include "tcg/helper-a64.h"
+#include "tcg/helper-sve.h"
+#include "tcg/helper-sme.h"
 #endif
 
-#include "helper-mve.h"
+#include "tcg/helper-mve.h"
target/arm/tcg/helper-a64.h renamed from target/arm/helper-a64.h +0 -0
similarity index 100%
rename from target/arm/helper-a64.h
rename to target/arm/tcg/helper-a64.h
target/arm/tcg/helper-mve.h renamed from target/arm/helper-mve.h +0 -0
similarity index 100%
rename from target/arm/helper-mve.h
rename to target/arm/tcg/helper-mve.h
target/arm/tcg/helper-sme.h renamed from target/arm/helper-sme.h +0 -0
similarity index 100%
rename from target/arm/helper-sme.h
rename to target/arm/tcg/helper-sme.h
target/arm/tcg/helper-sve.h renamed from target/arm/helper-sve.h +0 -0
similarity index 100%
rename from target/arm/helper-sve.h
rename to target/arm/tcg/helper-sve.h
Signature · 1 line
2.34.1
#5 lore raw
In reply to Richard Henderson
Quoted 11 lines · Richard Henderson

Move 7 files to tcg/.

r~

Richard Henderson (2):
target/arm: Move translate-a32.h, arm_ldst.h, sve_ldst_internal.h to
tcg/
target/arm: Move helper-{a64,mve,sme,sve}.h to tcg/

Applied to target-arm.next, thanks.

-- PMM