This is the mail archive of the gcc-patches@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] |
This patch adds back generation of cld instructions when stringops are used in the function. cld insn is emitted as unspec volatile at the end of function prologue. Currently, patched gcc emits cld when "-mcld" is added to compile flags.
Currently, there is no configure-time support, I think we should first reach a consensus on how to configure this. We can
If I understand the issue correctly, this patch is insufficient. You should also have GCC emit a cld instruction before any inline asm. Do you think it's a good idea to add a 52 cycle delay (on the P4) to any function that uses inline asm?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |