isa.hh (12109:f29e9c5418aa) isa.hh (13582:989577bf6abc)
1/*
2 * Copyright (c) 2009 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;

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

72 InternalProcReg readIpr(int idx, ThreadContext *tc);
73 void setIpr(int idx, InternalProcReg val, ThreadContext *tc);
74
75 public:
76
77 MiscReg readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) const;
78 MiscReg readMiscReg(int misc_reg, ThreadContext *tc, ThreadID tid = 0);
79
1/*
2 * Copyright (c) 2009 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;

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

72 InternalProcReg readIpr(int idx, ThreadContext *tc);
73 void setIpr(int idx, InternalProcReg val, ThreadContext *tc);
74
75 public:
76
77 MiscReg readMiscRegNoEffect(int misc_reg, ThreadID tid = 0) const;
78 MiscReg readMiscReg(int misc_reg, ThreadContext *tc, ThreadID tid = 0);
79
80 void setMiscRegNoEffect(int misc_reg, const MiscReg &val,
81 ThreadID tid = 0);
82 void setMiscReg(int misc_reg, const MiscReg &val, ThreadContext *tc,
83 ThreadID tid = 0);
80 void setMiscRegNoEffect(int misc_reg, MiscReg val, ThreadID tid=0);
81 void setMiscReg(int misc_reg, MiscReg val, ThreadContext *tc,
82 ThreadID tid=0);
84
85 void
86 clear()
87 {
88 fpcr = 0;
89 uniq = 0;
90 lock_flag = 0;
91 lock_addr = 0;

--- 58 unchanged lines hidden ---
83
84 void
85 clear()
86 {
87 fpcr = 0;
88 uniq = 0;
89 lock_flag = 0;
90 lock_addr = 0;

--- 58 unchanged lines hidden ---