base_dyn_inst.hh (7725:00ea9430643b) | base_dyn_inst.hh (7783:9b880b40ac10) |
---|---|
1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 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 --- 845 unchanged lines hidden (view full) --- 854 // Commit will have to clean up whatever happened. Set this 855 // instruction as executed. 856 this->setExecuted(); 857 } 858 859 if (fault != NoFault) { 860 // Return a fixed value to keep simulation deterministic even 861 // along misspeculated paths. | 1/* 2 * Copyright (c) 2004-2006 The Regents of The University of Michigan 3 * Copyright (c) 2009 The University of Edinburgh 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 --- 845 unchanged lines hidden (view full) --- 854 // Commit will have to clean up whatever happened. Set this 855 // instruction as executed. 856 this->setExecuted(); 857 } 858 859 if (fault != NoFault) { 860 // Return a fixed value to keep simulation deterministic even 861 // along misspeculated paths. |
862 bzero(data, size); | 862 if (data) 863 bzero(data, size); |
863 } 864 865 if (traceData) { 866 traceData->setAddr(addr); 867 } 868 869 return fault; 870} --- 131 unchanged lines hidden --- | 864 } 865 866 if (traceData) { 867 traceData->setAddr(addr); 868 } 869 870 return fault; 871} --- 131 unchanged lines hidden --- |