sim/common: Wire in df/di conversion
[deliverable/binutils-gdb.git] / sim / common / sim-alu.h
index becc224a9c8aa9d743401365f4bd8ae40265bdf4..3472b0649c832f732a16c8054d2bd413dc3f7458 100644 (file)
@@ -1,6 +1,6 @@
 /* The common simulator framework for GDB, the GNU Debugger.
 
-   Copyright 2002, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
+   Copyright 2002-2019 Free Software Foundation, Inc.
 
    Contributed by Andrew Cagney and Red Hat.
 
@@ -20,8 +20,8 @@
    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 
-#ifndef _SIM_ALU_H_
-#define _SIM_ALU_H_
+#ifndef SIM_ALU_H
+#define SIM_ALU_H
 
 #include "symcat.h"
 
@@ -1007,14 +1007,14 @@ do {                                                                    \
 #define ALU32_AND(VAL)                                                 \
 do {                                                                   \
   alu32_r &= (VAL);                                                    \
-  alu32_r = 0;                                                         \
+  alu32_c = 0;                                                         \
   alu32_v = 0;                                                         \
 } while (0)
 
 #define ALU64_AND(VAL)                                                 \
 do {                                                                   \
   alu64_r &= (VAL);                                                    \
-  alu64_r = 0;                                                         \
+  alu64_c = 0;                                                         \
   alu64_v = 0;                                                         \
 } while (0)
 
This page took 0.03463 seconds and 4 git commands to generate.