Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/dist/toolchain/gcc/config/vax movl doesn't modify the C ...



details:   https://anonhg.NetBSD.org/src/rev/9a219d6381d9
branches:  trunk
changeset: 522567:9a219d6381d9
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Feb 21 19:31:36 2002 +0000

description:
movl doesn't modify the C bit in the PSL so make sure to communicate that
fact to the gcc optimizer so it doesn't emit the wrong branch instructions.

diffstat:

 gnu/dist/toolchain/gcc/config/vax/vax.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r cd7dc935ebaf -r 9a219d6381d9 gnu/dist/toolchain/gcc/config/vax/vax.h
--- a/gnu/dist/toolchain/gcc/config/vax/vax.h   Thu Feb 21 19:31:03 2002 +0000
+++ b/gnu/dist/toolchain/gcc/config/vax/vax.h   Thu Feb 21 19:31:36 2002 +0000
@@ -904,7 +904,7 @@
        CC_STATUS_INIT;                                         \
       else if (GET_CODE (SET_DEST (EXP)) != ZERO_EXTRACT       \
               && GET_CODE (SET_DEST (EXP)) != PC)              \
-       { cc_status.flags = 0;                                  \
+       { cc_status.flags = CC_NO_OVERFLOW;                     \
          cc_status.value1 = SET_DEST (EXP);                    \
          cc_status.value2 = SET_SRC (EXP); } }                 \
   else if (GET_CODE (EXP) == PARALLEL                          \



Home | Main Index | Thread Index | Old Index