lkml.org 
[lkml]   [2014]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 2/2] x86_64: Don't save flags on context switch
On 10/01/2014 11:28 AM, Andy Lutomirski wrote:
>
> #define __EXTRA_CLOBBER \
> , "rcx", "rbx", "rdx", "r8", "r9", "r10", "r11", \
> - "r12", "r13", "r14", "r15"
> + "r12", "r13", "r14", "r15", "flags"
>

I was under the impression that gcc *always* assumes the flags were
clobbered for an asm statement. Otherwise I think we'd have a lot of
problems.

-hpa




\
 
 \ /
  Last update: 2014-10-01 21:01    [W:0.130 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site