Conversation
|
I know this PR is quite dated but I would also like to have this feature. Willing to rebase. |
|
Noted! Can you tell us a bit more how you'd use this feature? When the PR was first discussed, we weren't sure of the intended usage. In the meantime, you can always use inline assembly: |
|
I am formally verifying libsecp256k1 and SHRINCS with CompCert and VST. SHRINCS uses Builtin support would avoid architecture-specific inline assembly and let the CompCert build trap too. For precision, secp256k1 currently uses abort. |
This PR adds support for
__builtin_trapon x86, mapped to theud2instruction. I copied how this was done for PowerPC.Should I instead add a case for the
Pbuiltinpseudo-instruction?