Deleted Added
sdiff udiff text old ( 6246:5744fafb5072 ) new ( 6251:1d794d81a4e6 )
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

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

30 * Stephen Hines
31 */
32
33#ifndef __ARCH_ARM_UTILITY_HH__
34#define __ARCH_ARM_UTILITY_HH__
35
36#include "arch/arm/miscregs.hh"
37#include "arch/arm/types.hh"
38#include "base/types.hh"
39#include "cpu/thread_context.hh"
40
41namespace ArmISA {
42
43 inline bool
44 testPredicate(CPSR cpsr, ConditionCode code)
45 {
46 switch (code)
47 {
48 case COND_EQ: return cpsr.z;

--- 61 unchanged lines hidden ---