decoder.cc (12136:1070125670e2) decoder.cc (12407:c24d0c2d816d)
1/*
2 * Copyright (c) 2012 Google
3 * Copyright (c) The University of Virginia
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

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

40static const MachInst LowerBitMask = (1 << sizeof(MachInst) * 4) - 1;
41static const MachInst UpperBitMask = LowerBitMask << sizeof(MachInst) * 4;
42
43void Decoder::reset()
44{
45 aligned = true;
46 mid = false;
47 more = true;
1/*
2 * Copyright (c) 2012 Google
3 * Copyright (c) The University of Virginia
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

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

40static const MachInst LowerBitMask = (1 << sizeof(MachInst) * 4) - 1;
41static const MachInst UpperBitMask = LowerBitMask << sizeof(MachInst) * 4;
42
43void Decoder::reset()
44{
45 aligned = true;
46 mid = false;
47 more = true;
48 emi = NoopMachInst;
48 emi = 0;
49 instDone = false;
50}
51
52void
53Decoder::moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
54{
55 DPRINTF(Decode, "Requesting bytes 0x%08x from address %#x\n", inst,
56 fetchPC);

--- 55 unchanged lines hidden ---
49 instDone = false;
50}
51
52void
53Decoder::moreBytes(const PCState &pc, Addr fetchPC, MachInst inst)
54{
55 DPRINTF(Decode, "Requesting bytes 0x%08x from address %#x\n", inst,
56 fetchPC);

--- 55 unchanged lines hidden ---