Re: [Qemu-devel] [RISU PATCH 07/10] risugen: add --sve support

2017-11-09 Thread Alex Bennée
Dave Martin writes: > On Tue, Nov 07, 2017 at 03:05:55PM +, Alex Bennée wrote: >> This is similar to the approach used by the FP/simd data in so far as >> we generate a block of random data and then load into it. As there are >> no post-index SVE operations we need to

Re: [Qemu-devel] [RISU PATCH 07/10] risugen: add --sve support

2017-11-09 Thread Dave Martin
On Tue, Nov 07, 2017 at 03:05:55PM +, Alex Bennée wrote: > This is similar to the approach used by the FP/simd data in so far as > we generate a block of random data and then load into it. As there are > no post-index SVE operations we need to emit an additional incp > instruction to generate

Re: [Qemu-devel] [RISU PATCH 07/10] risugen: add --sve support

2017-11-09 Thread Richard Henderson
On 11/07/2017 04:05 PM, Alex Bennée wrote: > @@ -483,6 +521,10 @@ sub write_random_aarch64_regdata($) > write_random_aarch64_fpdata(); > } > > +if ($sve_enabled) { > +write_random_aarch64_svedata(); > +} Should write either sve or fpdata, but not both, since the

[Qemu-devel] [RISU PATCH 07/10] risugen: add --sve support

2017-11-07 Thread Alex Bennée
This is similar to the approach used by the FP/simd data in so far as we generate a block of random data and then load into it. As there are no post-index SVE operations we need to emit an additional incp instruction to generate our offset into the array. Signed-off-by: Alex Bennée