summaryrefslogtreecommitdiff
path: root/py/objboundmeth.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-03-18 12:29:11 +1100
committerDamien George <damien@micropython.org>2024-03-19 10:31:36 +1100
commitf52b0d0ff1788225fd61a748e0786aa90e953481 (patch)
tree61f99662e12760408831b85444477fe46212bbb9 /py/objboundmeth.c
parentd92dff881ca99281893b1d77eee4bf2eca25d0c8 (diff)
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
ASM_NOT_REG is optional, it can be synthesised by xor(reg, -1). ASM_NEG_REG can also be synthesised with a subtraction, but most architectures have a dedicated instruction for it. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/objboundmeth.c')
0 files changed, 0 insertions, 0 deletions