r199012 - Select the UltraSPARC instruction set when invoking the assembler.

Sean Silva silvas at purdue.edu
Sat Jan 11 22:14:04 PST 2014


On Sun, Jan 12, 2014 at 12:35 AM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:

>
> On Jan 11, 2014, at 9:22 PM, Sean Silva <silvas at purdue.edu> wrote:
>
> Do we have a SPARC builder?
>
>
> No. I have an old Sun box, but it is too slow and too noisy to serve as a
> builder.
>
> Can we self-host? (Just curious; I'm clueless about the state of SPARC in
> LLVM and it seems to be getting some action recently).
>
>
> With Venkatraman's recent work, we are very close to self-hosting a
> SPARCv9 build.
>

Neat. Are there any beefy-enough SPARC chips around to serve as builders
some day? If not, then at least we could get a wimpier one (OpenSPARC on an
FPGA?) and do like the wimpy ARM bots.

Oracle seems to have a pretty recent (2013) offering targeted at big iron,
and it seems pretty beefy <http://en.wikipedia.org/wiki/SPARC_T5>; the
linked white paper is talking about multi-socket x
16-core at 3.6GHzsuperscalar and N x 256GB DDR3. I didn't see any price
tag, but I'm
guessing that the people who actually need these sorts of big-iron machines
have (much) deeper pockets than we do........ (nonetheless, we have some
Oracle contributors, so maybe they could talk to the right people).

-- Sean Silva


> The 32-bit build still has some issues in stage 1.
>
> Thanks,
> /jakob
>
>
> On Sat, Jan 11, 2014 at 1:25 PM, Jakob Stoklund Olesen <stoklund at 2pi.dk>wrote:
>
>> Author: stoklund
>> Date: Sat Jan 11 12:25:01 2014
>> New Revision: 199012
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=199012&view=rev
>> Log:
>> Select the UltraSPARC instruction set when invoking the assembler.
>>
>> Modified:
>>     cfe/trunk/lib/Driver/Tools.cpp
>>     cfe/trunk/test/Driver/linux-as.c
>>
>> Modified: cfe/trunk/lib/Driver/Tools.cpp
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Tools.cpp?rev=199012&r1=199011&r2=199012&view=diff
>>
>> ==============================================================================
>> --- cfe/trunk/lib/Driver/Tools.cpp (original)
>> +++ cfe/trunk/lib/Driver/Tools.cpp Sat Jan 11 12:25:01 2014
>> @@ -6291,8 +6291,10 @@ void gnutools::Assemble::ConstructJob(Co
>>      CmdArgs.push_back("-many");
>>    } else if (getToolChain().getArch() == llvm::Triple::sparc) {
>>      CmdArgs.push_back("-32");
>> +    CmdArgs.push_back("-Av8plusa");
>>    } else if (getToolChain().getArch() == llvm::Triple::sparcv9) {
>>      CmdArgs.push_back("-64");
>> +    CmdArgs.push_back("-Av9a");
>>    } else if (getToolChain().getArch() == llvm::Triple::arm) {
>>      StringRef MArch = getToolChain().getArchName();
>>      if (MArch == "armv7" || MArch == "armv7a" || MArch == "armv7-a")
>>
>> Modified: cfe/trunk/test/Driver/linux-as.c
>> URL:
>> http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/linux-as.c?rev=199012&r1=199011&r2=199012&view=diff
>>
>> ==============================================================================
>> --- cfe/trunk/test/Driver/linux-as.c (original)
>> +++ cfe/trunk/test/Driver/linux-as.c Sat Jan 11 12:25:01 2014
>> @@ -65,6 +65,7 @@
>>  // RUN:   | FileCheck -check-prefix=CHECK-SPARCV9 %s
>>  // CHECK-SPARCV9: as
>>  // CHECK-SPARCV9: -64
>> +// CHECK-SPARCV9: -Av9a
>>  // CHECK-SPARCV9: -o
>>  //
>>  // RUN: %clang -target sparc-linux -mcpu=invalid-cpu -### \
>> @@ -72,6 +73,7 @@
>>  // RUN:   | FileCheck -check-prefix=CHECK-SPARCV8 %s
>>  // CHECK-SPARCV8: as
>>  // CHECK-SPARCV8: -32
>> +// CHECK-SPARCV8: -Av8plusa
>>  // CHECK-SPARCV8: -o
>>  //
>>  // RUN: %clang -target s390x-linux -### -no-integrated-as -c %s 2>&1 \
>>
>>
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140112/718c124c/attachment.html>


More information about the cfe-commits mailing list