That's not a good long-term solution, because LLVM-GCC is going to be going away at some point, so you need to find a better answer.
I would suggest filing a bug, seems pretty easy to reproduce, and hope that's fixed in time, I'm sure if it's valid assembler, it will be. On 4 Dec, 2012, at 5:38 PM, Luca Ciciriello < email@hidden> wrote: I confirm that I can compile on Xcode 4.5.2 if I set LLVM-gcc 4.2 as compiler. The compilation does fail if I set Apple LLVM compiler 4.1
Luca.
Hi Luca
can you confirm whether Xcode 4.5.2 compilation went fine or not?
Thanks Arun KA
On Tue, Dec 4, 2012 at 12:53 PM, Luca Ciciriello <email@hidden> wrote:
Further, if I switch to LLVM-gcc 4.2 in Xcode 4.5.2 all builds correctly.
Luca.
On Dec 4, 2012, at 8:20 AM, Luca Ciciriello < email@hidden> wrote:
Same error with Xcode 4.5.2:
<instantiation>:2:17: error: unexpected token in argument list movdqu $2*16(íx), %xmm7
^
Luca
Hi All
I am trying to build a project which comprised a ".c" and ".S" file. If i use Xcode 3.x which has gcc, the project complies perfectly.
If i migrate the project to use LLVM compiler using Xcode 4.4, it fails to compile the instruction "movdqu $2*16(íx), %xmm7". The below is the code snippet that i am using.
// // Hello.s // Assembly //
.globl _test_function
.macro test_macro zero, one, two
movdqu $2*16(íx), %xmm7
.endm
_test_function:
test_macro 0, 0, 0 ret
// // main.c // Assembly //
#include <stdio.h>
extern int test_function();
int main(int argc, const char * argv[]) {
printf("Return value %d\n", test_function()); return 0; }
Not sure what is happening with LLVM compiler.
Thanks Arun KA
_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list ( email@hidden)
This email sent to email@hidden
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|