main.isa (8442:b1f3dfae06f1) main.isa (8449:4be49ad47c74)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
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

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

156
157// HW_MTPR/MW_MFPR
158def bitfield HW_IPR_IDX <15:0>; // IPR index
159
160// M5 instructions
161def bitfield M5FUNC <7:0>;
162
163def operand_types {{
1// -*- mode:c++ -*-
2
3// Copyright (c) 2003-2005 The Regents of The University of Michigan
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

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

156
157// HW_MTPR/MW_MFPR
158def bitfield HW_IPR_IDX <15:0>; // IPR index
159
160// M5 instructions
161def bitfield M5FUNC <7:0>;
162
163def operand_types {{
164 'sb' : ('signed int', 8),
165 'ub' : ('unsigned int', 8),
166 'sw' : ('signed int', 16),
167 'uw' : ('unsigned int', 16),
168 'sl' : ('signed int', 32),
169 'ul' : ('unsigned int', 32),
170 'sq' : ('signed int', 64),
171 'uq' : ('unsigned int', 64),
172 'sf' : ('float', 32),
173 'df' : ('float', 64)
164 'sb' : 'int8_t',
165 'ub' : 'uint8_t',
166 'sw' : 'int16_t',
167 'uw' : 'uint16_t',
168 'sl' : 'int32_t',
169 'ul' : 'uint32_t',
170 'sq' : 'int64_t',
171 'uq' : 'uint64_t',
172 'sf' : 'float',
173 'df' : 'double'
174}};
175
176def operands {{
177 # Int regs default to unsigned, but code should not count on this.
178 # For clarity, descriptions that depend on unsigned behavior should
179 # explicitly specify '.uq'.
180 'Ra': ('IntReg', 'uq', 'PALMODE ? reg_redir[RA] : RA',
181 'IsInteger', 1),

--- 292 unchanged lines hidden ---
174}};
175
176def operands {{
177 # Int regs default to unsigned, but code should not count on this.
178 # For clarity, descriptions that depend on unsigned behavior should
179 # explicitly specify '.uq'.
180 'Ra': ('IntReg', 'uq', 'PALMODE ? reg_redir[RA] : RA',
181 'IsInteger', 1),

--- 292 unchanged lines hidden ---