Skip to content

Add support for volatile_load intrinsic#1347

Merged
adpaco-aws merged 5 commits intomodel-checking:mainfrom
adpaco-aws:volatile-read
Jul 8, 2022
Merged

Add support for volatile_load intrinsic#1347
adpaco-aws merged 5 commits intomodel-checking:mainfrom
adpaco-aws:volatile-read

Conversation

@adpaco-aws
Copy link
Contributor

Description of changes:

Adds support for the volatile_load intrinsic, which was disabled in #1081. We keep the same implementation but add an alignment check for the src pointer (one of the safety conditions according to the documentation)

Resolved issues:

Part of #1163

Call-outs:

Testing:

  • How is this change tested? Existing regression and 2 new tests.

  • Is this a refactor change? No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@adpaco-aws adpaco-aws requested a review from a team as a code owner July 7, 2022 17:43
@adpaco-aws adpaco-aws merged commit 762d541 into model-checking:main Jul 8, 2022
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.

2 participants