--- Comment #10 from valery_reznic at yahoo dot com 2009-02-11 15:56
---
(In reply to comment #9)
> (In reply to comment #8)
>
> > In the inline assembler I MYSELF put arguments in the places where MY (by
> > the
> > way, written in assembler) function expec
--- Comment #8 from valery_reznic at yahoo dot com 2009-02-11 14:26 ---
(In reply to comment #7)
> (In reply to comment #5)
>
> > Any why you say I shouldn't call other function from inside asm ?
>
> See for example [1].
>
> [1] http://gcc.gnu.org/bugzi
--- Comment #6 from valery_reznic at yahoo dot com 2009-02-09 16:09 ---
(In reply to comment #4)
> Or you can subq $128, %rsp; call my_syscall; addq $128, %rsp in your inline
> assembly.
>
When I understood what happened I did it, but thank you anyway.
--
http://gc
--- Comment #5 from valery_reznic at yahoo dot com 2009-02-09 16:07 ---
(In reply to comment #3)
> > > r11 is saved by the caller so this is the generated code is valid.
> > > Since nothing else uses r11 in the inline-asm, the code is correct.
> > The problem i
--- Comment #2 from valery_reznic at yahoo dot com 2009-02-06 07:12 ---
(In reply to comment #1)
> r11 is saved by the caller so this is the generated code is valid.
> Since nothing else uses r11 in the inline-asm, the code is correct.
The problem is not that r11 not saved at
.1.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: inline-asm
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: valery_reznic at yahoo dot com
GCC host triplet: file bb.c
=
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39078