isa_traits.hh (11723:0596db108c53) isa_traits.hh (11727:055ae402fbd0)
1/*
2 * Copyright (c) 2013 ARM Limited
3 * Copyright (c) 2014-2015 Sven Karlsson
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 49 unchanged lines hidden (view full) ---

58using namespace LittleEndianGuest;
59
60// Riscv does NOT have a delay slot
61#define ISA_HAS_DELAY_SLOT 0
62
63const Addr PageShift = 12;
64const Addr PageBytes = ULL(1) << PageShift;
65
1/*
2 * Copyright (c) 2013 ARM Limited
3 * Copyright (c) 2014-2015 Sven Karlsson
4 * All rights reserved
5 *
6 * The license below extends only to copyright in the software and shall
7 * not be construed as granting a license to any other intellectual
8 * property including but not limited to intellectual property relating

--- 49 unchanged lines hidden (view full) ---

58using namespace LittleEndianGuest;
59
60// Riscv does NOT have a delay slot
61#define ISA_HAS_DELAY_SLOT 0
62
63const Addr PageShift = 12;
64const Addr PageBytes = ULL(1) << PageShift;
65
66const ExtMachInst NoopMachInst = 0x00000013;
67
66// Memory accesses can not be unaligned
67const bool HasUnalignedMemAcc = false;
68
69const bool CurThreadInfoImplemented = false;
70const int CurThreadInfoReg = -1;
71
72}
73
74#endif //__ARCH_RISCV_ISA_TRAITS_HH__
68// Memory accesses can not be unaligned
69const bool HasUnalignedMemAcc = false;
70
71const bool CurThreadInfoImplemented = false;
72const int CurThreadInfoReg = -1;
73
74}
75
76#endif //__ARCH_RISCV_ISA_TRAITS_HH__