Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#4698 detach_state: Port signal + GPR-cache tests to A64 #4708

Merged
merged 3 commits into from
Feb 4, 2021

Conversation

derekbruening
Copy link
Contributor

Enables api.detach_state on AArch64 with some initial the sub-tests enabled:

  • Enables the cross-platform signal state tests on AArch64.
  • Ports the assembly to push and pop all the general-purpose
    registers, fill them with sentinel values, and test them on a detach
    from the code cache.

As part of this, adds some general assembly support:

  • @p@ expands to # in cpp2asm.
  • Adds REG_SP and JUMP_NOT_EQUAL cross-platform asm_defines.
  • Adds a missing dep on detach_state_shared.h for the asm code.

Still left to do for future work:

  • Check SIMD registers.
  • Check flags.
  • Check stack.
  • Detach from DR rather than the cache.

Issue: #4698

Enables api.detach_state on AArch64 with some initial the sub-tests enabled:
+ Enables the cross-platform signal state tests on AArch64.
+ Ports the assembly to push and pop all the general-purpose
  registers, fill them with sentinel values, and test them on a detach
  from the code cache.

As part of this, adds some general assembly support:
+ @p@ expands to # in cpp2asm.
+ Adds REG_SP and JUMP_NOT_EQUAL cross-platform asm_defines.
+ Adds a missing dep on detach_state_shared.h for the asm code.

Still left to do for future work:
+ Check SIMD registers.
+ Check flags.
+ Check stack.
+ Detach from DR rather than the cache.

Issue: #4698
@derekbruening
Copy link
Contributor Author

The failures are all what looks like a bug in clang-format-diff where it disagrees with clang-format on the /* clang-format on */ comment. Not really sure how to work around this: maybe just remove the comment since it's the end of the file anyway.

suite/tests/api/detach_state.c Outdated Show resolved Hide resolved
suite/tests/api/detach_state.c Outdated Show resolved Hide resolved
@derekbruening
Copy link
Contributor Author

Failure is burst_static callback.c assert which is #4486

@derekbruening derekbruening merged commit d3bbe18 into master Feb 4, 2021
@derekbruening derekbruening deleted the i4698-detach-state branch February 4, 2021 19:05
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