This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/28325] -fno-delayed-branch does not seem to work with the MIPS branch instructions



------- Comment #1 from ian at airs dot com  2006-07-10 16:27 -------
This is not a bug in the compiler.  The ".set reorder" directive tells the
assembler that it should reorder instructions into branch delay slots when
possible.  The compiler just copies the ".set reorder" directly from the asm
statement.  Both the compiler and the assembler are acting as expected.

You should rewrite your asm statement to not use .set reorder.  Do this
instead:
    .set push
    .set noreorder
    ...
    .set pop


-- 

ian at airs dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28325


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]