Commit c1630cc5 by David Edelsohn Committed by David Edelsohn

opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask if variable name exists.

        * opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
        if variable name exists.

From-SVN: r99357
parent 432218ba
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
(popcntb<mode>2): New. (popcntb<mode>2): New.
* config/rs6000/rs6000.opt (mpopcntb): New. * config/rs6000/rs6000.opt (mpopcntb): New.
* opt-functions.awk (var_set): Emit OPTION_MASK_ for InverseMask
if variable name exists.
2005-05-07 Matt Kraai <kraai@ftbfs.org> 2005-05-07 Matt Kraai <kraai@ftbfs.org>
* Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h. * Makefile.in (c-gimplify.o): Depend on $(RTL_H) instead of rtl.h.
......
...@@ -105,8 +105,13 @@ function var_set(flags) ...@@ -105,8 +105,13 @@ function var_set(flags)
return "CLVC_BIT_SET, MASK_" s return "CLVC_BIT_SET, MASK_" s
} }
s = nth_arg(0, opt_args("InverseMask", flags)); s = nth_arg(0, opt_args("InverseMask", flags));
if (s != "") if (s != "") {
return "CLVC_BIT_CLEAR, MASK_" s vn = var_name(flags);
if (vn)
return "CLVC_BIT_CLEAR, OPTION_MASK_" s
else
return "CLVC_BIT_CLEAR, MASK_" s
}
return "CLVC_BOOLEAN, 0" return "CLVC_BOOLEAN, 0"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment