From: H.J. Lu Date: Fri, 15 Feb 2019 20:47:31 +0000 (+0000) Subject: i386: Fix ')' in VALID_MMX_REG_MODE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=879f9d0b2f80ed3ce4317709e0357ec6c3d36bc4;p=gcc.git i386: Fix ')' in VALID_MMX_REG_MODE Replace "(MODE == V1DImode)" with "(MODE) == V1DImode". * config/i386/i386.h (VALID_MMX_REG_MODE): Correct the misplaced ')'. From-SVN: r268947 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1083735e26..96f8679e8f9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2019-02-15 H.J. Lu + + * config/i386/i386.h (VALID_MMX_REG_MODE): Correct the misplaced + ')'. + 2019-02-15 Uroš Bizjak * config/i386/darwin.h (TARGET_FPMATH_DEFAULT_P): New define. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index d9039060997..4fd8bc40a34 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -1158,7 +1158,7 @@ extern const char *host_detect_local_cpu (int argc, const char **argv); ((MODE) == V2SFmode || (MODE) == SFmode) #define VALID_MMX_REG_MODE(MODE) \ - ((MODE == V1DImode) || (MODE) == DImode \ + ((MODE) == V1DImode || (MODE) == DImode \ || (MODE) == V2SImode || (MODE) == SImode \ || (MODE) == V4HImode || (MODE) == V8QImode)