diff options
author | Igor V. Kovalenko <igor.v.kovalenko@gmail.com> | 2010-06-02 00:12:58 +0400 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-06-02 20:08:44 +0000 |
commit | fb170183e7387ade9aef2bddd59a8a62fceedac6 (patch) | |
tree | c199733945d474ebb16bb29718bc9a74e7a2f011 /tcg | |
parent | 09487205bb03548d260300d32595ba17ab597337 (diff) |
sparc64: fix umul and smul insns
- truncate and sign or zero extend operands before multiplication
- factor out common code to gen_op_multiply() with parameter to sign/zero extend
- call gen_op_multiply from gen_op_umul and gen_op_smul
Signed-off-by: Igor V. Kovalenko <igor.v.kovalenko@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tcg')
0 files changed, 0 insertions, 0 deletions