OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [mul.s] - Blame information for rev 215

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
# Source file used to test the mul macro.
2
 
3
foo:
4
        mul     $4,$5
5
        mul     $4,$5,$6
6
        mul     $4,$5,0
7
        mul     $4,$5,1
8
        mul     $4,$5,0x8000
9
        mul     $4,$5,-0x8000
10
        mul     $4,$5,0x10000
11
        mul     $4,$5,0x1a5a5
12
 
13
# mulo and mulou are only supported for register arguments
14
        mulo    $4,$5
15
        mulo    $4,$5,$6
16
 
17
        mulou   $4,$5
18
        mulou   $4,$5,$6
19
 
20
# Sanity check the 64 bit versions.
21
        .set    mips3
22
        dmul    $4,$5,$6
23
        dmul    $4,$5,1
24
        dmulo   $4,$5,$6
25
        dmulou  $4,$5,$6
26
 
27
        .space  8

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.