Re: PATCH: Fix ll/sc for mips
From: Ralf Baechle <hidden>
Date: 2002-02-04 13:20:28
From: Ralf Baechle <hidden>
Date: 2002-02-04 13:20:28
On Thu, Jan 31, 2002 at 11:17:14PM -0800, H . J . Lu wrote:
quoted
Gas will fill delay slots. Same object codes will be produced, so I think you don't have to do that by hand.It will make the code more readable. We don't have to guess what the assembler will do.
Generally speaking a MIPS assembler is free to do arbitrary reordering. In the past there have been non-GNU assembler that were doing more massive reordering than gcc does ... Using .set noreorder means you dump the assembler's intelligence and take full responsibility for dealing with all interlocks (or the lack thereof) and other performance issues yourself. Ralf