MULHY(RA, RB)

Purpose

Returns the high-order 32 or 64-bits of the 64 or 128-bit products of the operands RA and RB.

Valid on any PowerPC for 32-bit integers.

Valid on a PowerPC with a 64-bit architecture, in 64-bit mode for 64-bit integers.

Class

Function

Argument Type and Attributes

RA
must be of type integer.

RB
must be of type integer.

Result Type and Attributes

Same as RA, RB.

Result Value

A 32 or 64-bit product of the operands RA and RB IBM Copyright 2003