Date: Fri, 10 Jun 2011 09:25:12 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: Marcel Moolenaar <marcel@xcllnt.net> Cc: toolchain@freebsd.org Subject: Re: llvm-ia64 is off the ground... Message-ID: <20110610072512.GA35144@freebsd.org> In-Reply-To: <DE479A12-24B5-4947-90CF-702AA234BE39@xcllnt.net>
index | next in thread | previous in thread | raw e-mail
On Thu, Jun 09, 2011 at 07:20:04PM -0700, Marcel Moolenaar wrote:
> [CC toolchain@ -- more eyes is probably better]
>
> Hi Roman,
>
> I created the projects branch and committed a skeletal target
> for ia64 that's based on MSP430. I also discovered that CLang
> needs some target info, so I added that too.
>
> The branch is:
> projects/llvm-ia64
wow :) This is fantastic.
> When you have time, feel free to go over it and critique what
> I've done.
I sure will do! How do you build that? Do I have to build whole
freebsd world or is there some easier way? Will "make" in usr.bin/clang
work?
> My next steps are simple: Fix whatever blocks me from making
> progress:
>
> ns1% cat ~/incr.c
> int
> incr(int x)
> {
> return (x + 1);
> }
> ns1% clang -ccc-host-triple ia64 -S ~/incr.c
> 'generic' is not a recognized processor for this target (ignoring processor)
You can ignore this for now I think.
> error: unable to interface with target machine
> 1 error generated.
You have to create and register IA64InstPrinter. Check MSP430/InstPrinter/*
and and MSP430AsmPrinter.cpp:createMSP430MCInstPrinter().
Should not be hard for you!
I'll take some detailed looked in the evening!
roman
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110610072512.GA35144>
