operands.isa (7791:762276cd3cc7) operands.isa (8449:4be49ad47c74)
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

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

24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28//
29// Authors: Timothy M. Jones
30
31def operand_types {{
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

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

24// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28//
29// Authors: Timothy M. Jones
30
31def operand_types {{
32 'sb' : ('signed int', 8),
33 'ub' : ('unsigned int', 8),
34 'sh' : ('signed int', 16),
35 'uh' : ('unsigned int', 16),
36 'sw' : ('signed int', 32),
37 'uw' : ('unsigned int', 32),
38 'sq' : ('signed int', 64),
39 'uq' : ('unsigned int', 64),
40 'sf' : ('float', 32),
41 'df' : ('float', 64)
32 'sb' : 'int8_t',
33 'ub' : 'uint8_t',
34 'sh' : 'int16_t',
35 'uh' : 'uint16_t',
36 'sw' : 'int32_t',
37 'uw' : 'uint32_t',
38 'sq' : 'int64_t',
39 'uq' : 'uint64_t',
40 'sf' : 'float',
41 'df' : 'double'
42}};
43
44def operands {{
45 # General Purpose Integer Reg Operands
46 'Ra': ('IntReg', 'uw', 'RA', 'IsInteger', 1),
47 'Rb': ('IntReg', 'uw', 'RB', 'IsInteger', 2),
48 'Rs': ('IntReg', 'uw', 'RS', 'IsInteger', 3),
49 'Rt': ('IntReg', 'uw', 'RT', 'IsInteger', 4),

--- 32 unchanged lines hidden ---
42}};
43
44def operands {{
45 # General Purpose Integer Reg Operands
46 'Ra': ('IntReg', 'uw', 'RA', 'IsInteger', 1),
47 'Rb': ('IntReg', 'uw', 'RB', 'IsInteger', 2),
48 'Rs': ('IntReg', 'uw', 'RS', 'IsInteger', 3),
49 'Rt': ('IntReg', 'uw', 'RT', 'IsInteger', 4),

--- 32 unchanged lines hidden ---