ARM: Replace the "never" condition with the "unconditional" condition.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:00 +0000 (12:58 -0500)
src/arch/arm/insts/static_inst.cc
src/arch/arm/miscregs.hh
src/arch/arm/utility.cc
src/arch/arm/utility.hh

index 77d329564b8109973835128e5ca53cef918ee30f..d62c671fcedf80f619bab5706486a1adc48803ed 100644 (file)
@@ -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);
index cff6b8f2ae8b9d5f0a688d23bd25adb08f699bf7..99bb57391971129619ac150e12f0c6a22c3ccd46 100644 (file)
@@ -62,7 +62,7 @@ namespace ArmISA
         COND_GT, // 12
         COND_LE, // 13
         COND_AL, // 14
-        COND_NV  // 15
+        COND_UC  // 15
     };
 
     enum MiscRegIndex {
index 5ce32542bc83926a77a82306a1e43ec912b4bb01..cecd459f3f773d93eca2df9c105018e421eab185 100644 (file)
@@ -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
index 3ddfd12dd900b501cc700d95dc32b19419dc1d56..5739ba3cd03c96739797649ecf2b8093d8691c8f 100644 (file)
@@ -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);
         }