[PING][PATCH] ASan phase place change
Marat Zakirov
m.zakirov@samsung.com
Tue Mar 3 07:36:00 GMT 2015
On 02/24/2015 03:49 PM, Marat Zakirov wrote:
>
> On 02/20/2015 03:07 PM, Jakub Jelinek wrote:
>> On Fri, Feb 20, 2015 at 02:59:51PM +0300, Marat Zakirov wrote:
>>> Here is simple patch that moves asan phase just behind sanopt for all
>>> O0/O1/O2/O3 modes which gives +7% on x86 SPEC2006 (ref dataset).
>>> Regression testing and sanitized GCC bootstrapping were successfully
>>> done.
>> This isn't a regression, so I think it isn't appropriate for stage 4.
>>
>> I bet the difference is mainly vectorization. I believe the right
>> change is to teach the vectorizer about the ASAN_CHECK internal call
>> instead.
>>
>> Jakub
>>
> Jakub,
>
> I reproduced +28% for 433.milk with "-fno-tree-vectorize" on ref data.
> Are there some other GCC vectorization options? And why do you think
> that performance difference caused only by vectorization? As an
> example In llvm loop hoisting suffers from early asan phase
> http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-December/046332.html.
>
> --Marat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mavdt-153_3.diff
Type: text/x-patch
Size: 5148 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150303/413238a1/attachment.bin>
-------------- next part --------------
PATCH REF PERCENT
400.perlbench 1319 1334 1.14%
401.bzip2 700 718 2.57%
403.gcc 586 618 5.46%
429.mcf 435 521 19.77%
445.gobmk 720 750 4.17%
456.hmmer 815 816 0.12%
458.sjeng 890 919 3.26%
462.libquantum 327 347 6.12%
464.h264ref 1353 1600 18.26%
471.omnetpp 738 730 -1.08%
473.astar 536 544 1.49%
483.xalancbmk 544 615 13.05%
410.bwaves 1939 1938 -0.05%
416.gamess 3201 3202 0.03%
433.milc 419 540 28.88%
434.zeusmp 1641 1641 0.00%
435.gromacs 923 938 1.63%
436.cactusADM 2970 2973 0.10%
437.leslie3d 1564 1588 1.53%
444.namd 484 490 1.24%
447.dealII 591 676 14.38%
450.soplex 320 348 8.75%
453.povray 322 328 1.86%
459.GemsFDTD 1921 1950 1.51%
465.tonto 1621 1641 1.23%
470.lbm 252 337 33.73%
482.sphinx3 656 943 43.75%
GEOMEAN 7.07%
More information about the Gcc-patches
mailing list