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 target/66697] Feature request: -mstackrealign and force_align_arg_pointer for x86_64


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66697

--- Comment #5 from UroÅ Bizjak <ubizjak at gmail dot com> ---
(In reply to Justas L from comment #4)
> I haven't tested this yet, but I understand this global solution would
> affect the performance of ALL functions, not only those that interface with
> outside code, correct?

Yes, but you can always move critical functions to a separate file and compile
them with special options.

> Wine already assigns the force_align_arg_pointer attribute to vulnerable
> functions, so making it work for x86_64 would be the better, less disruptive
> solution.

TBH, I really don't see the reason against force_align_arg_pointer support on
x86_64. I have a patch in testing that enables this attribute also for x86_64
targets.

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