decoder.isa (4115:cc1d6df13c7d) | decoder.isa (4194:af4f6022394b) |
---|---|
1// Copyright (c) 2006-2007 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 --- 606 unchanged lines hidden (view full) --- 615 0x17: Priv::wrtick_cmpr({{TickCmpr = Rs1 ^ Rs2_or_imm13;}}); 616 0x18: NoPriv::wrstick({{ 617 if(!Hpstate<2:>) 618 return new IllegalInstruction; 619 Stick = Rs1 ^ Rs2_or_imm13; 620 }}); 621 0x19: Priv::wrstick_cmpr({{StickCmpr = Rs1 ^ Rs2_or_imm13;}}); 622 0x1A: Priv::wrstrand_sts_reg({{ | 1// Copyright (c) 2006-2007 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 --- 606 unchanged lines hidden (view full) --- 615 0x17: Priv::wrtick_cmpr({{TickCmpr = Rs1 ^ Rs2_or_imm13;}}); 616 0x18: NoPriv::wrstick({{ 617 if(!Hpstate<2:>) 618 return new IllegalInstruction; 619 Stick = Rs1 ^ Rs2_or_imm13; 620 }}); 621 0x19: Priv::wrstick_cmpr({{StickCmpr = Rs1 ^ Rs2_or_imm13;}}); 622 0x1A: Priv::wrstrand_sts_reg({{ |
623 if(Pstate<2:> && !Hpstate<2:>) 624 StrandStsReg = StrandStsReg<63:1> | 625 (Rs1 ^ Rs2_or_imm13)<0:>; 626 else | |
627 StrandStsReg = Rs1 ^ Rs2_or_imm13; 628 }}); 629 //0x1A is supposed to be reserved, but it writes the strand 630 //status register. 631 //0x1B-0x1F should cause an illegal instruction exception 632 } 633 0x31: decode FCN { 634 0x0: Priv::saved({{ --- 858 unchanged lines hidden --- | 623 StrandStsReg = Rs1 ^ Rs2_or_imm13; 624 }}); 625 //0x1A is supposed to be reserved, but it writes the strand 626 //status register. 627 //0x1B-0x1F should cause an illegal instruction exception 628 } 629 0x31: decode FCN { 630 0x0: Priv::saved({{ --- 858 unchanged lines hidden --- |