ARM: Replace the "never" condition with the "unconditional" condition.
This commit is contained in:
@@ -338,8 +338,8 @@ ArmStaticInstBase::printMnemonic(std::ostream &os,
|
||||
case COND_AL:
|
||||
// This one is implicit.
|
||||
break;
|
||||
case COND_NV:
|
||||
os << "nv";
|
||||
case COND_UC:
|
||||
// Unconditional.
|
||||
break;
|
||||
default:
|
||||
panic("Unrecognized condition code %d.\n", condCode);
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace ArmISA
|
||||
COND_GT, // 12
|
||||
COND_LE, // 13
|
||||
COND_AL, // 14
|
||||
COND_NV // 15
|
||||
COND_UC // 15
|
||||
};
|
||||
|
||||
enum MiscRegIndex {
|
||||
|
||||
@@ -2,6 +2,15 @@
|
||||
* Copyright (c) 2009 ARM Limited
|
||||
* All rights reserved.
|
||||
*
|
||||
* The license below extends only to copyright in the software and shall
|
||||
* not be construed as granting a license to any other intellectual
|
||||
* property including but not limited to intellectual property relating
|
||||
* to a hardware implementation of the functionality of the software
|
||||
* licensed hereunder. You may use the software subject to the license
|
||||
* terms below provided that you ensure that this notice is replicated
|
||||
* unmodified and in its entirety in all distributions of the software,
|
||||
* modified or unmodified, in source code or in binary form.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met: redistributions of source code must retain the above copyright
|
||||
|
||||
@@ -1,4 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2010 ARM Limited
|
||||
* All rights reserved
|
||||
*
|
||||
* The license below extends only to copyright in the software and shall
|
||||
* not be construed as granting a license to any other intellectual
|
||||
* property including but not limited to intellectual property relating
|
||||
* to a hardware implementation of the functionality of the software
|
||||
* licensed hereunder. You may use the software subject to the license
|
||||
* terms below provided that you ensure that this notice is replicated
|
||||
* unmodified and in its entirety in all distributions of the software,
|
||||
* modified or unmodified, in source code or in binary form.
|
||||
*
|
||||
* Copyright (c) 2003-2005 The Regents of The University of Michigan
|
||||
* Copyright (c) 2007-2008 The Florida State University
|
||||
* All rights reserved.
|
||||
@@ -70,7 +82,7 @@ namespace ArmISA {
|
||||
case COND_GT: return !(cpsr.n ^ cpsr.v || cpsr.z);
|
||||
case COND_LE: return (cpsr.n ^ cpsr.v || cpsr.z);
|
||||
case COND_AL: return true;
|
||||
case COND_NV: return false;
|
||||
case COND_UC: return true;
|
||||
default:
|
||||
panic("Unhandled predicate condition: %d\n", code);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user