base_dyn_inst.hh (4350:c3f402102507) | base_dyn_inst.hh (4632:be5b8f67b8fb) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 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; --- 695 unchanged lines hidden (view full) --- 704 void setNextPC(uint64_t val) 705 { 706 nextPC = val; 707 } 708 709 /** Set the next NPC of this instruction (the target in Mips or Sparc).*/ 710 void setNextNPC(uint64_t val) 711 { | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 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; --- 695 unchanged lines hidden (view full) --- 704 void setNextPC(uint64_t val) 705 { 706 nextPC = val; 707 } 708 709 /** Set the next NPC of this instruction (the target in Mips or Sparc).*/ 710 void setNextNPC(uint64_t val) 711 { |
712#if ISA_HAS_DELAY_SLOT |
|
712 nextNPC = val; | 713 nextNPC = val; |
714#endif |
|
713 } 714 715 /** Sets the ASID. */ 716 void setASID(short addr_space_id) { asid = addr_space_id; } 717 718 /** Sets the thread id. */ 719 void setTid(unsigned tid) { threadNumber = tid; } 720 --- 181 unchanged lines hidden --- | 715 } 716 717 /** Sets the ASID. */ 718 void setASID(short addr_space_id) { asid = addr_space_id; } 719 720 /** Sets the thread id. */ 721 void setTid(unsigned tid) { threadNumber = tid; } 722 --- 181 unchanged lines hidden --- |