[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2017-07-28 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-22 Thread thutt at vmware dot com
--- Comment #10 from thutt at vmware dot com 2009-01-22 13:59 --- (In reply to comment #7) The problem here is that you are using unitialized local register variables so the register allocator does not know any better. Anyways it works correctly on the trunk and I don't have any

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-21 Thread hpreg at vmware dot com
--- Comment #4 from hpreg at vmware dot com 2009-01-21 10:19 --- Andrew, With respect to your comment #2: initializing all the variables to 0 does not solve the problem, which is that gcc does not understand that %rbp is clobbered. With respect to your comment #3: as explained in the

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-01-22 03:51 --- The problem here is that you are using unitialized local register variables so the register allocator does not know any better. Anyways it works correctly on the trunk and I don't have any other compiler to test

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-21 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-01-22 04:01 --- Also I think this is the same as bug 35160. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-21 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2009-01-22 06:03 --- One fix is to add a proper intrinsic for vmrun. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-20 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-20 21:34 --- I think this code is undefined as you are using uninitialized variables for input of the inline-asm. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/38925] gcc ignores use of %rbp via assembly, generates bad code

2009-01-20 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-01-20 21:47 --- Also I think the inline-asm could be improved so that the inline-asm just marks the registers that are clobbered instead of doing the mess you are doing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38925