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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [d30v/] [bittest.s] - Rev 816

Compare with Previous | Blame | View Log

# bittest.s
#
# Bit operation instructions (BCLR, BNOT, BSET, BTST) should not be placed in IU.
# If the user specifically indicates they should be in the IU, GAS will
# generate warnings. The reason why this is not an error is that those instructions 
# will fail in IU only occasionally. Thus GAS should pack them in MU for
# safety, and it just needs to draw attention when a violation is given. 
 
 
	nop -> ldw R1, @(R2,R3)
        nop || ldw R6, @(R5,R4)
 
        nop -> BSET R1, R2, R3 
        nop <- BTST F1, R2, R3 
        nop || BCLR R1, R2, R3
        nop -> BNOT R1, R2, R3
        BNOT r1, r2, r3 -> nop
 
        bset r1, r2, r3 || moddec r4, 5
 
        bset r1, r2, r3
        moddec r4, 5
 
        bset r1, r2, r3
        joinll r4, r5, r6
 
        joinll r4, r5, r6
        bset r1, r2, r3
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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