bit.exact_xor_from_ptrΒΆ
Effectively: bit.exact_xor dst, *ptr
dst is a bit-address. ptr is a bit[:w] that holds an address, which we assume is dw-aligned.
SignatureΒΆ
def exact_xor_from_ptr dst, ptr @ base_jump_label, cleanup { ... }
Defined in bit/pointers.fj β lines 157β169 (view on GitHub).
ComplexityΒΆ
Time:
8w@Space:
8w@
See the complexity glossary for what @, w, dw, dbit, n mean.
Requires initΒΆ
The following must be initialised before this macro is invoked:
bit.pointers.ptr_init
SourceΒΆ
Click to view the macro body
def exact_xor_from_ptr dst, ptr @ base_jump_label, cleanup {
.ptr_wflip_2nd_word ptr, base_jump_label
.ptr_jump ptr
pad 2
base_jump_label:
;cleanup
dst;
cleanup:
.ptr_wflip_2nd_word ptr, base_jump_label
}
Depends onΒΆ
Used byΒΆ
Example usesΒΆ
bit.xor_from_ptrinbit/pointers.fj
β Previous: bit.xor_from_ptr
Next: bit.ptr_inc β