Skip to content

Atomics relaxation#2633

Merged
rwaldron merged 18 commits intomasterfrom
atomics-relaxation
Jun 24, 2020
Merged

Atomics relaxation#2633
rwaldron merged 18 commits intomasterfrom
atomics-relaxation

Conversation

@rwaldron
Copy link
Copy Markdown
Contributor

No description provided.

@rwaldron rwaldron requested a review from leobalter May 21, 2020 13:40
@anba
Copy link
Copy Markdown
Contributor

anba commented May 21, 2020

I don't understand testWithNonShareableBigIntTypedArrayConstructors and testWithNonShareableTypedArrayConstructors:

  • Both BigInt64Array and BigUint64Array can be used for all Atomics functions, except for Atomics.wait.
  • Only BigInt64Array can be used for Atomics.wait; BigUint64Array will throw for Atomics.wait.
  • Int(8|16|32)Array and Uint(8|16|32)Array can be used for all Atomics functions except for wait.
  • Only Int32Array can be wait, Int(8|16)Array and Uint(8|16|32)Array throw for wait.

@rwaldron
Copy link
Copy Markdown
Contributor Author

@anba corrections pushed.

@rwaldron rwaldron force-pushed the atomics-relaxation branch 4 times, most recently from 59f8f8c to 35bc506 Compare June 3, 2020 18:04
Copy link
Copy Markdown
Member

@leobalter leobalter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typos. Otherwise the tests seem reasonable to me

Comment thread test/built-ins/Atomics/xor/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/add/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/and/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/compareExchange/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/exchange/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/load/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/or/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/store/bigint/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/sub/bigint/non-shared-bufferdata.js Outdated
Copy link
Copy Markdown
Contributor

@anba anba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All calls to testWithAtomicsFriendlyTypedArrayConstructors ignore the TA parameter and instead are creating an Int32Array.

Comment thread test/built-ins/Atomics/or/non-shared-int-views-throws.js Outdated
Comment thread test/built-ins/Atomics/sub/non-shared-bufferdata.js Outdated
Comment thread test/built-ins/Atomics/xor/bigint/non-shared-bufferdata.js Outdated
@rwaldron rwaldron force-pushed the atomics-relaxation branch 2 times, most recently from c2927ca to cc772ef Compare June 23, 2020 20:20
@rwaldron rwaldron force-pushed the atomics-relaxation branch from cc772ef to f3272f2 Compare June 23, 2020 20:26
@rwaldron
Copy link
Copy Markdown
Contributor Author

@leobalter thanks for thr ✅ , @anba thanks for the reviews

@rwaldron rwaldron merged commit 729fa02 into master Jun 24, 2020
@rwaldron rwaldron deleted the atomics-relaxation branch June 24, 2020 16:26
anba added a commit to anba/test262 that referenced this pull request Jun 25, 2020
rwaldron pushed a commit that referenced this pull request Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants