decoder.isa (3439:b35c5f0ff57b) decoder.isa (3468:cf23ad1ceef2)
1// Copyright (c) 2006 The Regents of The University of Michigan
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

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

348 }
349 // XXX might want a format rdipr thing here
350 0x28: decode RS1 {
351 0xF: decode I {
352 0x0: Nop::stbar({{/*stuff*/}});
353 0x1: Nop::membar({{/*stuff*/}});
354 }
355 default: rdasr({{
1// Copyright (c) 2006 The Regents of The University of Michigan
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

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

348 }
349 // XXX might want a format rdipr thing here
350 0x28: decode RS1 {
351 0xF: decode I {
352 0x0: Nop::stbar({{/*stuff*/}});
353 0x1: Nop::membar({{/*stuff*/}});
354 }
355 default: rdasr({{
356 Rd = xc->readMiscRegWithEffect(RS1 + AsrStart, fault);
356 Rd = xc->readMiscRegWithEffect(RS1 + AsrStart);
357 }});
358 }
359 0x29: HPriv::rdhpr({{
357 }});
358 }
359 0x29: HPriv::rdhpr({{
360 Rd = xc->readMiscRegWithEffect(RS1 + HprStart, fault);
360 Rd = xc->readMiscRegWithEffect(RS1 + HprStart);
361 }});
362 0x2A: Priv::rdpr({{
361 }});
362 0x2A: Priv::rdpr({{
363 Rd = xc->readMiscRegWithEffect(RS1 + PrStart, fault);
363 Rd = xc->readMiscRegWithEffect(RS1 + PrStart);
364 }});
365 0x2B: BasicOperate::flushw({{
366 if(NWindows - 2 - Cansave == 0)
367 {
368 if(Otherwin)
369 fault = new SpillNOther(Wstate<5:3>);
370 else
371 fault = new SpillNNormal(Wstate<2:0>);

--- 721 unchanged lines hidden ---
364 }});
365 0x2B: BasicOperate::flushw({{
366 if(NWindows - 2 - Cansave == 0)
367 {
368 if(Otherwin)
369 fault = new SpillNOther(Wstate<5:3>);
370 else
371 fault = new SpillNNormal(Wstate<2:0>);

--- 721 unchanged lines hidden ---