You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gives many subtle differences, like the one below. Given this is 32-bit vs 64-bit, this may be something that needs to be fixed at grammar-level. But perhaps it is real.
Indeed due to 32-bit vs. 64-bit implementation of the pow() method (which ultimately is done by native code). If Dart does not have the same rigid precision requirements as e.g. Java, perhaps it makes sense to avoid testing 32-bit vs. 64-bit divergences as different execution modes.
The language specification just says that Dart double values are IEEE-754 64-bit floating point values, but nothing more The operations are then defined by the platform libraries, which do not promise any specific implementation.
So, the libraries do not promise anything, and the VM is free to implement them as inconsistently as JavaScript implementations. Consistency is great, but we prefer to not overpromise :)
Given this, I think we should deal with this in DartFuzz by either
no longer compare 32-bit vs 64-bit execution modes, but only pair same bit size archs
no longer generate FP operations when 32-bit vs 64-bit modes are run
Activity
aartbik commentedon Jul 1, 2019
Indeed due to 32-bit vs. 64-bit implementation of the pow() method (which ultimately is done by native code). If Dart does not have the same rigid precision requirements as e.g. Java, perhaps it makes sense to avoid testing 32-bit vs. 64-bit divergences as different execution modes.
aartbik commentedon Jul 2, 2019
Lasse gives some background.
Given this, I think we should deal with this in DartFuzz by either
aartbik commentedon Jul 18, 2019
@feli-citas
feli-citas commentedon Jul 18, 2019
JIT-DEPOPTEVERY-ReleaseX64 - JIT-DebugIA32: !DIVERGENCE! 1.13:483434976 (output=true)
JIT-DebugSIMARM - JIT-ReleaseX64: !DIVERGENCE! 1.13:1962568294 (output=true)
[dart/fuzzer] Add flag to control FP operations