bject: Re: Optimizing arithmetic operations on processors with AVX2 support
Such an assumption (in-order execution of statements) would be invalid even
with the current memory model. There's nothing to stop the compilers from
re-ordering the adds and multiplies so that they fill each other&
Java Memory Model.
Date: Thu, 8 Dec 2011 10:08:12 -0800
From: shan...@vmware.com
To: john_pla...@hotmail.com
CC: jdk8-dev@openjdk.java.net
Subject: Re: Optimizing arithmetic operations on processors with AVX2 support
Such an assumption (in-order executi
Shouldn't it be discussed on the hotspot-dev alias?
Thanks,
Artem
On 12/8/2011 9:25 PM, John Platts wrote:
Here is an example of a class with an operation that can be optimized on a
processor with AVX2 support:class ExampleClass {public void
ExampleOperation(ExampleClass y) {a
, 8 Dec 2011 10:08:12 -0800
> From: shan...@vmware.com
> To: john_pla...@hotmail.com
> CC: jdk8-dev@openjdk.java.net
> Subject: Re: Optimizing arithmetic operations on processors with AVX2 support
>
> Such an assumption (in-order execution of statements) would be invalid even
>
to the table in terms of perturbing
the memory model.
- Original Message -
From: "John Platts"
To: jdk8-dev@openjdk.java.net
Sent: Thursday, December 8, 2011 9:25:41 AM
Subject: Optimizing arithmetic operations on processors with AVX2 support
Here is an example of a class with
Here is an example of a class with an operation that can be optimized on a
processor with AVX2 support:class ExampleClass { public void
ExampleOperation(ExampleClass y) { a += y.a; b *= y.b; c
+= y.c; d += y.d; e += y.e; f *= y.f; g *= y.g;