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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [m68k/] [p2663.s] - Blame information for rev 818

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 205 julius
|
2
| This code generates an incorrect pc relative offset
3
|
4
bug:       movel  #4,%d7
5
           jsr    table(%pc,%d7.w)            | wrong
6
           jsr    %pc@(table-.-2:b,%d7:w)     | correct but cryptic
7
           nop
8
           nop
9
table:
10
           bra    junk
11
           bra    junk
12
           bra    junk
13
 
14
junk:
15
    nop
16
    rts

powered by: WebSVN 2.1.0

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