Skip to content

use and in SVC instruction#2131

Open
elijah-wright wants to merge 1 commit intooxidecomputer:masterfrom
elijah-wright:arm-asm
Open

use and in SVC instruction#2131
elijah-wright wants to merge 1 commit intooxidecomputer:masterfrom
elijah-wright:arm-asm

Conversation

@elijah-wright
Copy link

this PR uses and in SVCall for ARM instead of ldr/bics and mov/bic which should save a few bytes and a cycle for both ARMv6-M and ARMv7/8-M. it should be the same operation for both cases only that we're masking in bits 3:2, not masking out bits 1:0. ARMv7/8-M (or really Thumb-2) supports an immediate with and as well

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.

1 participant