diff options
| author | Damien George <damien@micropython.org> | 2024-03-18 12:29:11 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2024-03-19 10:31:36 +1100 |
| commit | f52b0d0ff1788225fd61a748e0786aa90e953481 (patch) | |
| tree | 61f99662e12760408831b85444477fe46212bbb9 /extmod/modwebsocket.c | |
| parent | d92dff881ca99281893b1d77eee4bf2eca25d0c8 (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 'extmod/modwebsocket.c')
0 files changed, 0 insertions, 0 deletions
