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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mips/] [and.s] - Blame information for rev 156

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

Line No. Rev Author Line
1 38 julius
# Source file used to test the and macro.
2
 
3
foo:
4
        and     $4,$4,0
5
        and     $4,$4,1
6
        and     $4,$4,0x8000
7
        and     $4,$4,-0x8000
8
        and     $4,$4,0x10000
9
        and     $4,$4,0x1a5a5
10
 
11
# nor, or, and xor are handled by the same code.  There is a special
12
# case for nor, so we test all variants.
13
 
14
        nor     $4,$5,0
15
        nor     $4,$5,1
16
        nor     $4,$5,0x8000
17
        nor     $4,$5,-0x8000
18
        nor     $4,$5,0x10000
19
        nor     $4,$5,0x1a5a5
20
 
21
        or      $4,$5,0
22
 
23
        xor     $4,$5,0
24
 
25
        # Round to a 16 byte boundary, for ease in testing multiple targets.
26
        nop
27
        nop
28
        nop

powered by: WebSVN 2.1.0

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