Messages in this thread | | | From | Jan-Simon Möller <> | Subject | Re: [llvmlinux] [PATCH] [RFC] [X86] Fix a compilation issue with clang. | Date | Thu, 29 Aug 2013 20:00:24 +0200 |
| |
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/
| |