Deleted Added
sdiff udiff text old ( 6759:98101a5f7ee4 ) new ( 7111:ee902ae075bb )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * Copyright (c) 2007-2008 The Florida State University
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
9 * notice, this list of conditions and the following disclaimer;

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

65 case COND_VC: return !cpsr.v;
66 case COND_HI: return (cpsr.c && !cpsr.z);
67 case COND_LS: return !(cpsr.c && !cpsr.z);
68 case COND_GE: return !(cpsr.n ^ cpsr.v);
69 case COND_LT: return (cpsr.n ^ cpsr.v);
70 case COND_GT: return !(cpsr.n ^ cpsr.v || cpsr.z);
71 case COND_LE: return (cpsr.n ^ cpsr.v || cpsr.z);
72 case COND_AL: return true;
73 case COND_NV: return false;
74 default:
75 panic("Unhandled predicate condition: %d\n", code);
76 }
77 }
78
79 /**
80 * Function to insure ISA semantics about 0 registers.
81 * @param tc The thread context.

--- 64 unchanged lines hidden ---