Documentation ¶
Overview ¶
THESE PACKAGES ARE FOR DEMONSTRATION PURPOSES ONLY!
THEY DO NOT NOT CONTAIN WORKING INTRINSICS!
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddcarryxU32 ¶
AddcarryxU32: Add unsigned 32-bit integers 'a' and 'b' with unsigned 8-bit carry-in 'c_in' (carry or overflow flag), and store the unsigned 32-bit result in 'out', and the carry-out in 'dst' (carry or overflow flag).
dst:out[31:0] := a[31:0] + b[31:0] + c_in;
Instruction: 'ADCX, ADOX'. Intrinsic: '_addcarryx_u32'. Requires ADX.
FIXME: Will likely need to be reworked (has pointer parameter).
func AddcarryxU64 ¶
AddcarryxU64: Add unsigned 64-bit integers 'a' and 'b' with unsigned 8-bit carry-in 'c_in' (carry or overflow flag), and store the unsigned 64-bit result in 'out', and the carry-out in 'dst' (carry or overflow flag).
dst:out[63:0] := a[63:0] + b[63:0] + c_in;
Instruction: 'ADCX, ADOX'. Intrinsic: '_addcarryx_u64'. Requires ADX.
FIXME: Will likely need to be reworked (has pointer parameter).
Types ¶
This section is empty.