mem.isa (9573:cac6e95e236c) mem.isa (10037:5cac77888310)
1// -*- mode:c++ -*-
2
1// -*- mode:c++ -*-
2
3// Copyright (c) 2010 ARM Limited
3// Copyright (c) 2010, 2012 ARM Limited
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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

692 %(class_name)s(ExtMachInst machInst,
693 uint32_t _dest, uint32_t _base, bool _add, int32_t _imm);
694
695 %(BasicExecDeclare)s
696
697 %(InitiateAccDeclare)s
698
699 %(CompleteAccDeclare)s
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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

692 %(class_name)s(ExtMachInst machInst,
693 uint32_t _dest, uint32_t _base, bool _add, int32_t _imm);
694
695 %(BasicExecDeclare)s
696
697 %(InitiateAccDeclare)s
698
699 %(CompleteAccDeclare)s
700
701 virtual void
702 annotateFault(ArmFault *fault) {
703 %(fa_code)s
704 }
700 };
701}};
702
703def template StoreExImmDeclare {{
704 /**
705 * Static instruction class for "%(mnemonic)s".
706 */
707 class %(class_name)s : public %(base_class)s

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

758 int32_t _shiftAmt, uint32_t _shiftType,
759 uint32_t _index);
760
761 %(BasicExecDeclare)s
762
763 %(InitiateAccDeclare)s
764
765 %(CompleteAccDeclare)s
705 };
706}};
707
708def template StoreExImmDeclare {{
709 /**
710 * Static instruction class for "%(mnemonic)s".
711 */
712 class %(class_name)s : public %(base_class)s

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

763 int32_t _shiftAmt, uint32_t _shiftType,
764 uint32_t _index);
765
766 %(BasicExecDeclare)s
767
768 %(InitiateAccDeclare)s
769
770 %(CompleteAccDeclare)s
771
772 virtual void
773 annotateFault(ArmFault *fault) {
774 %(fa_code)s
775 }
766 };
767}};
768
769def template LoadDRegDeclare {{
770 /**
771 * Static instruction class for "%(mnemonic)s".
772 */
773 class %(class_name)s : public %(base_class)s

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

803 int32_t _shiftAmt, uint32_t _shiftType,
804 uint32_t _index);
805
806 %(BasicExecDeclare)s
807
808 %(InitiateAccDeclare)s
809
810 %(CompleteAccDeclare)s
776 };
777}};
778
779def template LoadDRegDeclare {{
780 /**
781 * Static instruction class for "%(mnemonic)s".
782 */
783 class %(class_name)s : public %(base_class)s

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

813 int32_t _shiftAmt, uint32_t _shiftType,
814 uint32_t _index);
815
816 %(BasicExecDeclare)s
817
818 %(InitiateAccDeclare)s
819
820 %(CompleteAccDeclare)s
821
822 virtual void
823 annotateFault(ArmFault *fault) {
824 %(fa_code)s
825 }
811 };
812}};
813
814def template LoadImmDeclare {{
815 /**
816 * Static instruction class for "%(mnemonic)s".
817 */
818 class %(class_name)s : public %(base_class)s

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

823 %(class_name)s(ExtMachInst machInst,
824 uint32_t _dest, uint32_t _base, bool _add, int32_t _imm);
825
826 %(BasicExecDeclare)s
827
828 %(InitiateAccDeclare)s
829
830 %(CompleteAccDeclare)s
826 };
827}};
828
829def template LoadImmDeclare {{
830 /**
831 * Static instruction class for "%(mnemonic)s".
832 */
833 class %(class_name)s : public %(base_class)s

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

838 %(class_name)s(ExtMachInst machInst,
839 uint32_t _dest, uint32_t _base, bool _add, int32_t _imm);
840
841 %(BasicExecDeclare)s
842
843 %(InitiateAccDeclare)s
844
845 %(CompleteAccDeclare)s
846
847 virtual void
848 annotateFault(ArmFault *fault) {
849 %(fa_code)s
850 }
831 };
832}};
833
834def template InitiateAccDeclare {{
835 Fault initiateAcc(%(CPU_exec_context)s *, Trace::InstRecord *) const;
836}};
837
838def template CompleteAccDeclare {{

--- 384 unchanged lines hidden ---
851 };
852}};
853
854def template InitiateAccDeclare {{
855 Fault initiateAcc(%(CPU_exec_context)s *, Trace::InstRecord *) const;
856}};
857
858def template CompleteAccDeclare {{

--- 384 unchanged lines hidden ---