arch,cpu: Rename arch/registers.hh to arch/vecregs.hh.
The only thing still in arch/registers.hh were related to vector registers. To make it obvious that nothing else should be added, this change renames the file so that it has the much less generic name arch/vecregs.hh. Change-Id: I729697dc576e1978047688d9700dc07ff9b17044 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42686 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -61,9 +61,9 @@ env.SwitchingHeaders(
|
||||
isa.hh
|
||||
locked_mem.hh
|
||||
page_size.hh
|
||||
registers.hh
|
||||
remote_gdb.hh
|
||||
types.hh
|
||||
vecregs.hh
|
||||
'''),
|
||||
env.subst('${TARGET_ISA}'))
|
||||
|
||||
|
||||
@@ -44,8 +44,8 @@
|
||||
* ISA-specific types for hardware transactional memory.
|
||||
*/
|
||||
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/int.hh"
|
||||
#include "arch/arm/regs/vec.hh"
|
||||
#include "arch/generic/htm.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
#include "arch/arm/htm.hh"
|
||||
#include "arch/arm/insts/tme64.hh"
|
||||
#include "arch/arm/locked_mem.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/generic/memhelpers.hh"
|
||||
#include "debug/ArmTme.hh"
|
||||
#include "mem/packet_access.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#define __ARCH_ARM_INTERRUPT_HH__
|
||||
|
||||
#include "arch/arm/faults.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/misc.hh"
|
||||
#include "arch/arm/utility.hh"
|
||||
#include "arch/generic/interrupts.hh"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#define __ARCH_ARM_ISA_HH__
|
||||
|
||||
#include "arch/arm/isa_device.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/int.hh"
|
||||
#include "arch/arm/regs/misc.hh"
|
||||
#include "arch/arm/self_debug.hh"
|
||||
#include "arch/arm/system.hh"
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
#ifndef __ARCH_ARM_ISA_DEVICE_HH__
|
||||
#define __ARCH_ARM_ISA_DEVICE_HH__
|
||||
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -44,7 +44,8 @@
|
||||
#include <memory>
|
||||
|
||||
#include "arch/arm/interrupts.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/int.hh"
|
||||
#include "arch/arm/regs/misc.hh"
|
||||
#include "cpu/kvm/base.hh"
|
||||
#include "debug/Kvm.hh"
|
||||
#include "debug/KvmContext.hh"
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#define __ARCH_ARM_LINUX_SE_WORKLOAD_HH__
|
||||
|
||||
#include "arch/arm/linux/linux.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/int.hh"
|
||||
#include "arch/arm/se_workload.hh"
|
||||
#include "params/ArmEmuLinux.hh"
|
||||
#include "sim/syscall_desc.hh"
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include "arch/arm/isa_device.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/system.hh"
|
||||
#include "base/cprintf.hh"
|
||||
#include "cpu/base.hh"
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
|
||||
#include "arch/arm/decoder.hh"
|
||||
#include "arch/arm/pagetable.hh"
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/vec.hh"
|
||||
#include "arch/arm/system.hh"
|
||||
#include "arch/arm/utility.hh"
|
||||
#include "arch/generic/mmu.hh"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "arch/arm/regs/vec.hh"
|
||||
#include "arch/arm/utility.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/remote_gdb.hh"
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#ifndef __ARCH_ARM_TRACERS_TARMAC_BASE_HH__
|
||||
#define __ARCH_ARM_TRACERS_TARMAC_BASE_HH__
|
||||
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <fstream>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "arch/arm/registers.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_ARM_REGISTERS_HH__
|
||||
#define __ARCH_ARM_REGISTERS_HH__
|
||||
#ifndef __ARCH_ARM_VECREGS_HH__
|
||||
#define __ARCH_ARM_VECREGS_HH__
|
||||
|
||||
#include "arch/arm/regs/vec.hh"
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_MIPS_REGISTERS_HH__
|
||||
#define __ARCH_MIPS_REGISTERS_HH__
|
||||
#ifndef __ARCH_MIPS_VECREGS_HH__
|
||||
#define __ARCH_MIPS_VECREGS_HH__
|
||||
|
||||
#include "arch/generic/vec_pred_reg.hh"
|
||||
#include "arch/generic/vec_reg.hh"
|
||||
@@ -35,8 +35,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_NULL_REGISTERS_HH__
|
||||
#define __ARCH_NULL_REGISTERS_HH__
|
||||
#ifndef __ARCH_NULL_VECREGS_HH__
|
||||
#define __ARCH_NULL_VECREGS_HH__
|
||||
|
||||
#include "arch/generic/vec_pred_reg.hh"
|
||||
#include "arch/generic/vec_reg.hh"
|
||||
@@ -59,4 +59,4 @@ constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr;
|
||||
|
||||
}
|
||||
|
||||
#endif // __ARCH_NULL_REGISTERS_HH__
|
||||
#endif // __ARCH_NULL_VECREGS_HH__
|
||||
@@ -26,8 +26,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_POWER_REGISTERS_HH__
|
||||
#define __ARCH_POWER_REGISTERS_HH__
|
||||
#ifndef __ARCH_POWER_VECREGS_HH__
|
||||
#define __ARCH_POWER_VECREGS_HH__
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -52,4 +52,4 @@ constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr;
|
||||
|
||||
} // namespace PowerISA
|
||||
|
||||
#endif // __ARCH_POWER_REGISTERS_HH__
|
||||
#endif // __ARCH_POWER_VECREGS_HH__
|
||||
@@ -43,8 +43,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_RISCV_REGISTERS_HH__
|
||||
#define __ARCH_RISCV_REGISTERS_HH__
|
||||
#ifndef __ARCH_RISCV_VECREGS_HH__
|
||||
#define __ARCH_RISCV_VECREGS_HH__
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
@@ -69,4 +69,4 @@ constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr;
|
||||
|
||||
}
|
||||
|
||||
#endif // __ARCH_RISCV_REGISTERS_HH__
|
||||
#endif // __ARCH_RISCV_VECREGS_HH__
|
||||
@@ -26,8 +26,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_SPARC_REGISTERS_HH__
|
||||
#define __ARCH_SPARC_REGISTERS_HH__
|
||||
#ifndef __ARCH_SPARC_VECREGS_HH__
|
||||
#define __ARCH_SPARC_VECREGS_HH__
|
||||
|
||||
#include "arch/generic/vec_pred_reg.hh"
|
||||
#include "arch/generic/vec_reg.hh"
|
||||
@@ -40,7 +40,6 @@
|
||||
|
||||
#include "arch/x86/regs/int.hh"
|
||||
#include "arch/x86/regs/segment.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/types.hh"
|
||||
|
||||
namespace X86ISA
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
|
||||
#include "arch/x86/decoder.hh"
|
||||
#include "arch/x86/mmu.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/regs/ccr.hh"
|
||||
#include "arch/x86/regs/int.hh"
|
||||
#include "arch/x86/regs/misc.hh"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "arch/generic/isa.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/regs/float.hh"
|
||||
#include "arch/x86/regs/misc.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
@@ -60,7 +60,6 @@ output header {{
|
||||
#include "arch/x86/insts/micromediaop.hh"
|
||||
#include "arch/x86/insts/microregop.hh"
|
||||
#include "arch/x86/insts/static_inst.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/types.hh"
|
||||
#include "arch/x86/utility.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include "arch/x86/linux/linux.hh"
|
||||
#include "arch/x86/page_size.hh"
|
||||
#include "arch/x86/process.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/se_workload.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "arch/x86/linux/linux.hh"
|
||||
#include "arch/x86/process.hh"
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "kern/linux/linux.hh"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/regs/int.hh"
|
||||
#include "sim/guest_abi.hh"
|
||||
|
||||
struct X86PseudoInstABI
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_X86_REGISTERS_HH__
|
||||
#define __ARCH_X86_REGISTERS_HH__
|
||||
#ifndef __ARCH_X86_VECREGS_HH__
|
||||
#define __ARCH_X86_VECREGS_HH__
|
||||
|
||||
#include "arch/generic/vec_pred_reg.hh"
|
||||
#include "arch/generic/vec_reg.hh"
|
||||
@@ -76,4 +76,4 @@ constexpr bool VecPredRegHasPackedRepr = ::DummyVecPredRegHasPackedRepr;
|
||||
|
||||
} // namespace X86ISA
|
||||
|
||||
#endif // __ARCH_X86_REGFILE_HH__
|
||||
#endif // __ARCH_X86_VECREGS_HH__
|
||||
Reference in New Issue
Block a user