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

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

42 {
43 if ( val & (1<<i) )
44 ones++;
45 }
46 return ones;
47}
48
49/**
1/* Copyright (c) 2007-2008 The Florida State University
2 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

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

42 {
43 if ( val & (1<<i) )
44 ones++;
45 }
46 return ones;
47}
48
49/**
50 * Microops of the form IntRegA = IntRegB op Imm
51 */
52class MicroIntOp : public PredOp
53{
54 protected:
55 RegIndex ura, urb;
56 uint8_t imm;
57
58 MicroIntOp(const char *mnem, ExtMachInst machInst, OpClass __opClass,
59 RegIndex _ura, RegIndex _urb, uint8_t _imm)
60 : PredOp(mnem, machInst, __opClass),
61 ura(_ura), urb(_urb), imm(_imm)
62 {
63 }
64};
65
66/**
50 * Arm Macro Memory operations like LDM/STM
51 */
52class ArmMacroMemoryOp : public PredMacroOp
53{
54 protected:
55 /// Memory request flags. See mem_req_base.hh.
56 unsigned memAccessFlags;
57

--- 95 unchanged lines hidden ---
67 * Arm Macro Memory operations like LDM/STM
68 */
69class ArmMacroMemoryOp : public PredMacroOp
70{
71 protected:
72 /// Memory request flags. See mem_req_base.hh.
73 unsigned memAccessFlags;
74

--- 95 unchanged lines hidden ---