News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Multiply two OWORDs

Started by aw27, September 21, 2018, 04:56:17 PM

Previous topic - Next topic

aw27

64-bit code to multiply 2 OWORDs and obtain a 256-bit number.


mul 128bitx128bit = 256bit result
2312 cycles for 100 * mul128x128_256 (AW)
val1=0xa548ddeb93f93d70479983e499807805
val2=0x538999ea78812af3c92329fd26552a91
val1*val2=0x35ef77521316318c1b59f6f041c08950a5ee764d3dee56f11425a9139d1dccd5