Multiply one 32-bit and one-16-bit fractional value, generating a signed 32-bit fractional result. Saturates only for the case of 0x80000000 x 0x8000.
OMR's SA bit was set to 1 at least three cycles before this code, that is, saturation on data ALU results enabled.
Word32 L_mult_ls(Word32 linp1, Word16 sinp2)
long l1 = 0x20000000;/* 0.25 */ short s2 = 0x2000;/* 0.25 */ long result; result = L_mult(l1,s2); // Expected value of result: 0.625 = 0x08000000