[RS6000] dg-do !compile and scan-assembler

Segher Boessenkool segher@kernel.crashing.org
Tue Oct 27 22:34:45 GMT 2020


Hi!

On Tue, Oct 27, 2020 at 09:26:10PM +1030, Alan Modra wrote:
> These tests never checked assembly, because .s files were not
> produced.  One test was looking for the wrong instructions.

 -/* { dg-final { scan-assembler-times {\msldbi\M} 6 } } */
> -/* { dg-final { scan-assembler-times {\msrdbi\M} 6 } } */
> -
> -
> +/* { dg-final { scan-assembler-times {\mvsldbi\M} 8 } } */
> +/* { dg-final { scan-assembler-times {\mvsrdbi\M} 8 } } */

You also changed the instruction count here; did you check 8 is actually
what is expected here, or is that just what you saw come out?

Okay for trunk if so.  Thanks!


Segher


More information about the Gcc-patches mailing list