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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bernds at gcc dot gnu.org,
                   |                            |jakub at gcc dot gnu.org,
                   |                            |vmakarov at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
With just -m32 slub1.c -O2 -mpreferred-stack-boundary=2 -march=i686 this
started with r246059.  Why doesn't the kernel use atomic builtins instead?
The asm uses %eax/%ebx/%ecx/%edx and needs to use up to 2 other registers to
hold the addresses of mems (unless any of them can be sp relative), if %ebp is
used for frame pointer then there are no other registers left, but it still
ought to be reloadable.

Reply via email to