1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE book PUBLIC
"-//OASIS//DTD DocBook MathML Module V1.1b1//EN"
3 "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">
4 <refentry id=
"umulExtended">
9 <holder>Khronos Group
</holder>
12 <refentrytitle>umulExtended
</refentrytitle>
13 <manvolnum>3G
</manvolnum>
16 <refname>umulExtended
</refname>
17 <refpurpose>perform a
32- by
32-bit multiply to produce a
64-bit result
</refpurpose>
19 <refsynopsisdiv><title>Declaration
</title>
22 <funcdef>void
<function>umulExtended
</function></funcdef>
23 <paramdef>genUType
<parameter>x
</parameter></paramdef>
24 <paramdef>genUType
<parameter>y
</parameter></paramdef>
25 <paramdef>out genUType
<parameter>msb
</parameter></paramdef>
26 <paramdef>out genUType
<parameter>lsb
</parameter></paramdef>
27 </funcprototype> <funcprototype>
28 <funcdef>void
<function>imulExtended
</function></funcdef>
29 <paramdef>genIType
<parameter>x
</parameter></paramdef>
30 <paramdef>genIType
<parameter>y
</parameter></paramdef>
31 <paramdef>out genIType
<parameter>msb
</parameter></paramdef>
32 <paramdef>out genIType
<parameter>lsb
</parameter></paramdef>
36 <refsect1 id=
"parameters"><title>Parameters
</title>
39 <term><parameter>x
</parameter></term>
42 Specifies the first multiplicand.
47 <term><parameter>y
</parameter></term>
50 Specifies the second multiplicand..
55 <term><parameter>msb
</parameter></term>
58 Specifies the variable to receive the most significant word of the product.
63 <term><parameter>lsb
</parameter></term>
66 Specifies the variable to receive the least significant word of the product.
72 <refsect1 id=
"description"><title>Description
</title>
74 <function>umulExtended
</function> and
<function>imulExtended
</function> perform multiplication of the two
32-bit integer
75 quantities
<parameter>x
</parameter> and
<parameter>y
</parameter>, producing a
64-bit integer result. The
32 least
76 significant bits of this product are returned in
<parameter>lsb
</parameter> and the
32 most significant bits are returned
77 in
<parameter>msb
</parameter>.
<function>umulExtended
</function> and
<function>imulExtended
</function> perform
78 unsigned and signed multiplication, respectively.
81 <refsect1 id=
"versions"><title>Version Support
</title>
82 <informaltable frame=
"topbot">
87 <entry>umulExtended
</entry>#newin40#
93 <refsect1 id=
"seealso"><title>See Also
</title>
95 <citerefentry><refentrytitle>uaddCarry
</refentrytitle></citerefentry>
98 <refsect1 id=
"Copyright"><title>Copyright
</title>
100 Copyright
<trademark class=
"copyright"></trademark> 2011 Khronos Group.
101 This material may be distributed subject to the terms and conditions set forth in
102 the Open Publication License, v
1.0,
8 June
1999.
103 <ulink url=
"http://opencontent.org/openpub/">http://opencontent.org/openpub/
</ulink>.