On Thu, Jan 19, 2017 at 10:47:12PM +1030, Alan Modra wrote:
> --- a/gcc/config/rs6000/rs6000.md
> +++ b/gcc/config/rs6000/rs6000.md
> @@ -9102,7 +9102,8 @@ (define_expand "cmpstrnsi"
> (use (match_operand:SI 4))])]
>"TARGET_CMPB && (BYTES_BIG_ENDIAN || TARGET_LDBRX)"
> {
> - if (e
The inline expansions are non-trivial, so aren't really appropriate
for -Os.
Bootstrapped and regression tested powerpc64le-linux. OK to apply?
* config/rs6000/rs6000.md (cmpstrnsi, cmpstrsi): Fail if
optimizing for size.
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6