integer.isa (6691:cd68b6ecd68d) integer.isa (10184:bbfa3152bdea)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

31////////////////////////////////////////////////////////////////////
32//
33// Integer ALU instructions
34//
35
36
37// Instruction class constructor template when Rc is set.
38def template IntRcConstructor {{
1// -*- mode:c++ -*-
2
3// Copyright (c) 2009 The University of Edinburgh
4// All rights reserved.
5//
6// Redistribution and use in source and binary forms, with or without
7// modification, are permitted provided that the following conditions are
8// met: redistributions of source code must retain the above copyright

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

31////////////////////////////////////////////////////////////////////
32//
33// Integer ALU instructions
34//
35
36
37// Instruction class constructor template when Rc is set.
38def template IntRcConstructor {{
39 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
39 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
40 {
41 %(constructor)s;
42 rcSet = true;
43 }
44}};
45
46
47// Instruction class constructor template when OE is set.
48def template IntOeConstructor {{
40 {
41 %(constructor)s;
42 rcSet = true;
43 }
44}};
45
46
47// Instruction class constructor template when OE is set.
48def template IntOeConstructor {{
49 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
49 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
50 {
51 %(constructor)s;
52 oeSet = true;
53 }
54}};
55
56
57// Instruction class constructor template when both Rc and OE are set.
58def template IntRcOeConstructor {{
50 {
51 %(constructor)s;
52 oeSet = true;
53 }
54}};
55
56
57// Instruction class constructor template when both Rc and OE are set.
58def template IntRcOeConstructor {{
59 inline %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
59 %(class_name)s::%(class_name)s(ExtMachInst machInst) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
60 {
61 %(constructor)s;
62 rcSet = true;
63 oeSet = true;
64 }
65}};
66
67

--- 302 unchanged lines hidden ---
60 {
61 %(constructor)s;
62 rcSet = true;
63 oeSet = true;
64 }
65}};
66
67

--- 302 unchanged lines hidden ---