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] - Rev 818

Compare with Previous | Blame | View Log

|
| This code generates an incorrect pc relative offset 
|
bug:       movel  #4,%d7
           jsr    table(%pc,%d7.w)            | wrong
           jsr    %pc@(table-.-2:b,%d7:w)     | correct but cryptic
           nop
           nop
table:
           bra    junk
           bra    junk
           bra    junk
 
junk:
    nop
    rts
 

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.