types.hh (6254:8abc40611938) types.hh (6267:f5edd0f709e4)
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

33
34#include "base/bitunion.hh"
35#include "base/types.hh"
36
37namespace ArmISA
38{
39 typedef uint32_t MachInst;
40
1/*
2 * Copyright (c) 2007-2008 The Florida State University
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

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

33
34#include "base/bitunion.hh"
35#include "base/types.hh"
36
37namespace ArmISA
38{
39 typedef uint32_t MachInst;
40
41 BitUnion32(ExtMachInst)
41 BitUnion64(ExtMachInst)
42 // Made up bitfields that make life easier.
43 Bitfield<33> sevenAndFour;
44 Bitfield<32> isMisc;
45
42 // All the different types of opcode fields.
43 Bitfield<27, 25> opcode;
44 Bitfield<27, 25> opcode27_25;
45 Bitfield<24, 21> opcode24_21;
46 Bitfield<24, 23> opcode24_23;
47 Bitfield<24> opcode24;
48 Bitfield<23, 20> opcode23_20;
49 Bitfield<23, 21> opcode23_21;

--- 208 unchanged lines hidden ---
46 // All the different types of opcode fields.
47 Bitfield<27, 25> opcode;
48 Bitfield<27, 25> opcode27_25;
49 Bitfield<24, 21> opcode24_21;
50 Bitfield<24, 23> opcode24_23;
51 Bitfield<24> opcode24;
52 Bitfield<23, 20> opcode23_20;
53 Bitfield<23, 21> opcode23_21;

--- 208 unchanged lines hidden ---