3.235. __nv_mulhi

Prototype:

i32 @__nv_mulhi(i32 %x, i32 %y) 

Description:

Calculate the most significant 32 bits of the 64-bit product x * y, where x and y are 32-bit integers.

Returns:

Returns the most significant 32 bits of the product x * y.

Library Availability:

Compute 2.0: Yes

Compute 3.0: Yes

Compute 3.5: Yes