lkml.org 
[lkml]   [2013]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [llvmlinux] [PATCH] [RFC] [X86] Fix a compilation issue with clang.
Date
On Thursday 29 August 2013 10:28:52 H. Peter Anvin wrote:
> On 08/29/2013 10:13 AM, dl9pf@gmx.de wrote:
> > From: Jan-Simon Möller <dl9pf@gmx.de>
> >
> > Clang does not support the "shortcut" we're taking here for gcc (see
> > below).
> Read: clang is gratuitously incompatible with gcc.

Let's discuss this during the llvm track @ plumbers .

> > The patch extends and uses the macro _ASM_DX to do the job.
>
> You just changed the sematics of the _ASM_* macros... that doesn't seem
> like a great idea. It's probably okay for the registers, but still...
>

Well, we followed your idea for the _ASM_DX macros as you mentioned them
earlier.

I tested this change for both clang-3.3 and gcc-4.7.2 .

Best,
JS
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2013-08-30 01:41    [W:0.049 / U:0.900 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site