On Thu, 11 Jul 2019 at 13:39, Richard Sandiford
wrote:
>
> Prathamesh Kulkarni writes:
> > @@ -186,6 +186,23 @@ skip_alternative (const char *p)
> > /* Nonzero means volatile operands are recognized. */
> > extern int volatile_ok;
> >
> > +/* RAII class for temporarily setting volatile_ok. */
Prathamesh Kulkarni writes:
> @@ -186,6 +186,23 @@ skip_alternative (const char *p)
> /* Nonzero means volatile operands are recognized. */
> extern int volatile_ok;
>
> +/* RAII class for temporarily setting volatile_ok. */
> +
> +class temporary_volatile_ok
> +{
> +public:
> + temporary_v
On Thu, 11 Jul 2019 at 01:48, Richard Sandiford
wrote:
>
> Prathamesh Kulkarni writes:
> > Hi,
> > For following test-case:
> >
> > typedef double v4df __attribute__ ((vector_size (32)));
> > void foo(v4df);
> >
> > int
> > main ()
> > {
> > volatile v4df x1;
> > x1 = (v4df) { 10.0, 20.0, 30.
Prathamesh Kulkarni writes:
> Hi,
> For following test-case:
>
> typedef double v4df __attribute__ ((vector_size (32)));
> void foo(v4df);
>
> int
> main ()
> {
> volatile v4df x1;
> x1 = (v4df) { 10.0, 20.0, 30.0, 40.0 };
> foo (x1);
> return 0;
> }
>
> Compiling with -msve-vector-bits=25
Hi,
For following test-case:
typedef double v4df __attribute__ ((vector_size (32)));
void foo(v4df);
int
main ()
{
volatile v4df x1;
x1 = (v4df) { 10.0, 20.0, 30.0, 40.0 };
foo (x1);
return 0;
}
Compiling with -msve-vector-bits=256, the compiler goes into infinite
recursion and eventuall