Displaying 20 results from an estimated 20 matches for "dspec_cpu".
2019 Jan 08
2
distributed thinlto usage
I am trying to work through the usage of thinlto for distributed builds.
Here is the simple thinlto usage, just add -flto=thin everywhere, easy:
clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp
clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else Places_.cpp
clang++ -flto=thin -O3 -c -o RegBounds_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dang...
2019 Jan 09
2
distributed thinlto usage
...;llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
I am trying to work through the usage of thinlto for distributed builds.
Here is the simple thinlto usage, just add -flto=thin everywhere, easy:
clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp
clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else Places_.cpp
clang++ -flto=thin -O3 -c -o RegBounds_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dang...
2019 Jan 09
2
distributed thinlto usage
...;llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote:
I am trying to work through the usage of thinlto for distributed builds.
Here is the simple thinlto usage, just add -flto=thin everywhere, easy:
clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp
clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else Places_.cpp
clang++ -flto=thin -O3 -c -o RegBounds_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dang...
2014 Apr 09
1
[LLVMdev] LLVM 3.4 performance regressed?
...ake clean 2> make.clean.err | tee make.clean.out
rm -rf bzip2 bzip2.exe *.o *.fppized.f*
find . \( -name \*.o -o -name '*.fppized.f*' \) -print | xargs rm -rf
rm -rf core
specmake build 2> make.err | tee make.out
clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o spec.o -DSPEC_CPU -DNDEBUG spec.c
clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o blocksort.o -DSPEC_CPU -DNDEBUG blocksort.c
clang -g -std=c89 -D_GNU_SOURCE -c -emit-llvm -c -o bzip2.o -DSPEC_CPU -DNDEBUG bzip2.c
bzip2.c:487:27: warning: incompati...
2014 Apr 07
4
[LLVMdev] LLVM 3.4 performance regressed?
Hi,
It was suggested that I post my question regarding a LLVM 3.4 performance
regression to this mailing list, rather than stackoverflow. So here is
the link:
https://stackoverflow.com/questions/22902034/llvm-3-4-performance-regressed
Thanks :)
Jens
--
Jens Tröger
http://savage.light-speed.de/
2018 Aug 14
2
optimization remarks
Hi,
I am trying to compare the loop vectorizers effectiveness for different
targets relative to each other. That way, I am hoping to find loops that
are not vectorized - but could be - on my target by finding other
targets doing this successfully. With some luck, there might be
something in the Target files that could be fixed with improved
vectorization as a result...
I would like to do
2016 Aug 12
3
AutoFDO sample profiles v. SelectInst,
I am looking for advice on a problem observed with
-fprofile-sample-use for samples built with the AutoFDO tool
I took the "hmmer" benchmark out of SPEC2006
It is initially compiled
clnag++ -o hmmer -O3 -std=gnu89 -DSPEC_CPU -DNDEBUG -fno-strict-aliasing -w -g *.c
This baseline binary runs in about 164.2 seconds as reported by "perf stat"
We build a sample file from this program using the AutoFDO tool "create_llvm_prof"
perf report -b hmmer nph3.hmm swiss41wa
create_llvm_prof -out hmmer.llv...
2013 Nov 05
2
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
Hello LLVM,
I encountered the following bugs when I compiled my program in debug version.
Could someone help me with that ? Really appreciate that. Thanks,
Take the mcf program in SPEC2K6 as example. The compiling options are :
clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
llvm-link -o mcf.bc obj/mcf.o
opt -o mcf.opt.bc mcf.bc -O2
llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
clang mcf.s -o mcf
/tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to `.Lline_table_start1'
/tmp/mcf-CvkpnA.o:(.debug_info+0x894): undefined reference to `.Lline_tabl...
2013 Nov 05
2
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
...LVM,
>
> I encountered the following bugs when I compiled my program in debug version.
> Could someone help me with that ? Really appreciate that. Thanks,
>
> Take the mcf program in SPEC2K6 as example. The compiling options are :
>
> clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
> llvm-link -o mcf.bc obj/mcf.o
> opt -o mcf.opt.bc mcf.bc -O2
> llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
> clang mcf.s -o mcf
> /tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to `.Lline_table_start1'
> /tmp/mcf-CvkpnA.o:(.debug_info+0x894): undef...
2013 Nov 05
0
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
...M,
>
> I encountered the following bugs when I compiled my program in debug
> version.
> Could someone help me with that ? Really appreciate that. Thanks,
>
> Take the mcf program in SPEC2K6 as example. The compiling options are :
>
> clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
> llvm-link -o mcf.bc obj/mcf.o
> opt -o mcf.opt.bc mcf.bc -O2
> llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
> clang mcf.s -o mcf
> /tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to
> `.Lline_table_start1'
> /tmp/mcf-CvkpnA.o:(.debug_info+0x894):...
2011 Feb 26
0
[LLVMdev] [MC] Removing relaxation control
On Feb 25, 2011, at 11:38 AM, Rafael Avila de Espindola wrote:
>>> Can someone else try to reproduce this?
>
> I tried gcc.c from
> http://people.csail.mit.edu/smcc/projects/single-file-programs/ and the
> difference is a bit more noticeable:
>
> -O0 -mno-relax-all
>
> real 0m13.182s
> user 0m12.690s
> sys 0m0.450s
>
> -O0
>
> gcc.o is
2013 Nov 05
0
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
...ed the following bugs when I compiled my program in debug
>> version.
>> Could someone help me with that ? Really appreciate that. Thanks,
>>
>> Take the mcf program in SPEC2K6 as example. The compiling options are :
>>
>> clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
>> llvm-link -o mcf.bc obj/mcf.o
>> opt -o mcf.opt.bc mcf.bc -O2
>> llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
>> clang mcf.s -o mcf
>> /tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to
>> `.Lline_table_start1'
>> /tmp/mcf-Cv...
2011 Feb 25
3
[LLVMdev] [MC] Removing relaxation control
>> Can someone else try to reproduce this?
I tried gcc.c from
http://people.csail.mit.edu/smcc/projects/single-file-programs/ and the
difference is a bit more noticeable:
-O0 -mno-relax-all
real 0m13.182s
user 0m12.690s
sys 0m0.450s
-O0
gcc.o is 10932968 bytes.
real 0m12.969s
user 0m12.520s
sys 0m0.410s
gcc.o is 11410552 bytes
IMHO it would still be reasonable to switch to
2013 Nov 05
1
[LLVMdev] Compiling issues: undefined reference to `.Lline_table_start1'
...en I compiled my program in debug
>>> version.
>>> Could someone help me with that ? Really appreciate that. Thanks,
>>>
>>> Take the mcf program in SPEC2K6 as example. The compiling options are :
>>>
>>> clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c
>>> llvm-link -o mcf.bc obj/mcf.o
>>> opt -o mcf.opt.bc mcf.bc -O2
>>> llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc
>>> clang mcf.s -o mcf
>>> /tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to
>>> `.Lline_table_start1...
2012 Mar 29
1
[LLVMdev] Error Linking Math Library
Hello;
I was trying to create an executable from the "hmmer" benchmark source code
files after applying some optimization. I am running the following script
-
#!/bin/bash
while read line; do
clang -S -emit-llvm -DNDEBUG -DSPEC_CPU -o $line'.o' $line'.c'
done < files.txt
while read line; do
opt -block-placement $line'.o' -o $line'.o'
done < files.txt
#export LLVM_LIB_SEARCH_PATH=/usr/lib
llvm-link *.o -o out.o.linked
llc out.o.linked
gcc out.o.linked.s -o hmmer
**files.txt contains the...
2013 Jul 02
2
[LLVMdev] MI Scheduler vs SD Scheduler?
...led but the SD scheduler is disabled (or neutralized) by adding the option: -fplugin-arg-dragonegg-llvm-option='-pre-RA-sched:source' to the flags that we have used in the first test. However, this did not work; we got the following error message:
GCC_4.6.4_DIR/install/bin/gcc -c -o lbm.o -DSPEC_CPU -DNDEBUG -O3 -march=core2 -mtune=core2 -fplugin='DRAGON_EGG_DIR/dragonegg.so' -fplugin-arg-dragonegg-llvm-option='-enable-misched:true' -fplugin-arg-dragonegg-llvm-option='-pre-RA-sched:source' -DSPEC_CPU_LP64 lbm.c
cc1: for the -pre-RA-sched option: may onl...
2015 Apr 16
2
[LLVMdev] Compile SPEC2006 with clang-3.2, multi definition errors.
...defined here
/tmp/getpwd-UxjZIi.o: In function `fstat64':
/usr/include/sys/stat.h:498: multiple definition of `fstat64'
/tmp/c-parse-7tFGiF.o:/usr/include/sys/stat.h:498: first defined here
/tmp/getpwd-UxjZIi.o: In function `fstatat':
.......
2.1 ) the link commands details
clang -g -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LP64 -I. -DHTYU -DSPEC_CPU_LINUX
alloca.bc asprintf.bc vasprintf.bc c-parse.bc c-lang.bc attribs.bc
c-errors.bc c-le
x.bc c-pragma.bc c-decl.bc c-typeck.bc c-convert.bc c-aux-info.bc
c-common.bc c-format.bc c-semantics.bc c-objc-common.bc main.bc cpplib.bc
cpplex.bc cppmacr
o.b...
2013 Jul 01
0
[LLVMdev] MI Scheduler vs SD Scheduler?
Sent from my iPhone
On Jun 28, 2013, at 2:38 PM, Ghassan Shobaki <ghassan_shobaki at yahoo.com> wrote:
> Hi,
>
> We are currently in the process of upgrading from LLVM 2.9 to LLVM 3.3. We are working on instruction scheduling (mainly for register pressure reduction). I have been following the llvmdev mailing list and have learned that a machine instruction (MI) scheduler has been
2013 Jul 12
0
[LLVMdev] MI Scheduler vs SD Scheduler?
...e SD scheduler is disabled (or neutralized) by adding the option: -fplugin-arg-dragonegg-llvm-option='-pre-RA-sched:source' to the flags that we have used in the first test. However, this did not work; we got the following error message:
>
> GCC_4.6.4_DIR/install/bin/gcc -c -o lbm.o -DSPEC_CPU -DNDEBUG -O3 -march=core2 -mtune=core2 -fplugin='DRAGON_EGG_DIR/dragonegg.so' -fplugin-arg-dragonegg-llvm-option='-enable-misched:true' -fplugin-arg-dragonegg-llvm-option='-pre-RA-sched:source' -DSPEC_CPU_LP64 lbm.c
> cc1: for the -pre-RA-sched option: ma...
2013 Jun 28
2
[LLVMdev] MI Scheduler vs SD Scheduler?
Hi,
We are currently in the process of upgrading from LLVM 2.9 to LLVM 3.3. We are working on instruction scheduling
(mainly for register pressure reduction). I have been following the llvmdev mailing list and have learned that a machine instruction (MI)
scheduler has been implemented to replace (or work with?) the selection DAG (SD)
scheduler. However, I could not find any document that