threads icon indicating copy to clipboard operation
threads copied to clipboard

Spec tests with memory offsets

Open anuraaga opened this issue 6 months ago • 1 comments

While working on implementation of atomics, I noticed that the spec tests from here passed despite the logic being trivially broken by ignoring const offsets on memory addresses. While I don't know what the coverage goal of spec tests is, const offsets seem like they may be worth having tests for to make it easier to write correct implementations.

anuraaga avatar Feb 15 '24 04:02 anuraaga

I think it would definitely be worth adding test coverage for this. Did you end up writing any that you'd be willing to contribute?

dschuff avatar Feb 15 '24 17:02 dschuff