[Compbench-devel] CompBenchmarks++/libcompbenchmarks/share/KB/gxx arch.xml, NONE, 1.1 inline.xml, N
Brought to you by:
xfred
From: Frederic T. <xf...@us...> - 2007-03-13 20:27:11
|
Update of /cvsroot/compbench/CompBenchmarks++/libcompbenchmarks/share/KB/gxx In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv27532 Added Files: arch.xml inline.xml loops.xml Log Message: First import. --- NEW FILE: loops.xml --- <?xml version="1.0" ?> <!-- Loop related options for gxx --> <!-- included by gxx/options.xml --> <cel> <!-- strength-reduce --> <cel-function-def> <cel-str>kb-gxx-option-strength-reduce-is-compatible</cel-str> <cel-var-set> <cel-str>return</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-var-set> <cel-cond-if> <cel-cmp-eq> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> <cel-str>1</cel-str> </cel-cmp-eq> <cel-cond-if> <cel-logic-or> <cel-cmp-eq> <cel-var-get> <cel-str>kb-option-mainoptimization</cel-str> </cel-var-get> <cel-str>-O2</cel-str> </cel-cmp-eq> <cel-cmp-eq> <cel-var-get> <cel-str>kb-option-mainoptimization</cel-str> </cel-var-get> <cel-str>-O3</cel-str> </cel-cmp-eq> </cel-logic-or> <cel-var-set> <cel-str>return</cel-str> <cel-str>option implied by -O2 and -O3</cel-str> </cel-var-set> </cel-cond-if> </cel-cond-if> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> </cel-function-def> <!-- thread-jumps --> <cel-function-def> <cel-str>kb-gxx-option-thread-jumps-is-compatible</cel-str> <cel-var-set> <cel-str>return</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-var-set> <cel-cond-if> <cel-cmp-eq> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> <cel-str>1</cel-str> </cel-cmp-eq> <cel-cond-if> <cel-logic-or> <cel-cmp-eq> <cel-var-get> <cel-str>kb-option-mainoptimization</cel-str> </cel-var-get> <cel-str>-O2</cel-str> </cel-cmp-eq> <cel-cmp-eq> <cel-var-get> <cel-str>kb-option-mainoptimization</cel-str> </cel-var-get> <cel-str>-O3</cel-str> </cel-cmp-eq> </cel-logic-or> <cel-var-set> <cel-str>return</cel-str> <cel-str>option implied by -O2 and -O3</cel-str> </cel-var-set> </cel-cond-if> </cel-cond-if> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> </cel-function-def> <!-- unroll-all-loops --> <cel-function-def> <cel-str>kb-gxx-option-unroll-all-loops-is-compatible</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-function-def> <!-- unroll-loops --> <cel-function-def> <cel-str>kb-gxx-option-unroll-loops-is-compatible</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-function-def> </cel> --- NEW FILE: inline.xml --- <?xml version="1.0" ?> <!-- inlining related options for gxx --> <!-- included by gxx/options.xml --> <cel> <!-- inline-functions --> <cel-function-def> <cel-str>kb-gxx-option-inline-functions-is-compatible</cel-str> <cel-var-set> <cel-str>return</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-var-set> <cel-cond-if> <cel-cmp-eq> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> <cel-str>1</cel-str> </cel-cmp-eq> <cel-cond-if> <cel-cmp-eq> <cel-var-get> <cel-str>kb-option-mainoptimization</cel-str> </cel-var-get> <cel-str>-O3</cel-str> </cel-cmp-eq> <cel-var-set> <cel-str>return</cel-str> <cel-str>option implied by -O3</cel-str> </cel-var-set> </cel-cond-if> </cel-cond-if> <cel-var-get> <cel-str>return</cel-str> </cel-var-get> </cel-function-def> <!-- Not integrated (seem useless for optimizations measurement : --> <!-- keep-inline-functions --> <!-- no-default-inline --> </cel> --- NEW FILE: arch.xml --- <?xml version="1.0" ?> <!-- Architecture related options for gxx --> <!-- included by gxx/options.xml --> <!-- !!! Should check real platform architecture in matches --> <cel> <!-- m486 --> <cel-function-def> <cel-str>kb-gxx-option-m486-is-compatible</cel-str> <cel-var-set> <cel-str>result</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-var-set> <cel-cond-if> <cel-cmp-eq> <cel-var-get> <cel-str>result</cel-str> </cel-var-get> <cel-str>1</cel-str> </cel-cmp-eq> <cel-block> <cel-stack-push> <cel-str>kb-option-cpu</cel-str> </cel-stack-push> <cel-stack-push> <cel-str>-m486</cel-str> </cel-stack-push> <cel-var-set> <cel-str>result</cel-str> <cel-function-call> <cel-str>kb-common-option-apply</cel-str> </cel-function-call> </cel-var-set> </cel-block> </cel-cond-if> <cel-var-get> <cel-str>result</cel-str> </cel-var-get> </cel-function-def> <!-- no-fp-ret-in-387 --> <cel-function-def> <cel-str>kb-gxx-option-no-fp-ret-in-387-is-compatible</cel-str> <cel-function-call> <cel-str>kb-gxx-option-gcc2.95-is-compatible</cel-str> </cel-function-call> </cel-function-def> <!-- Not integrated (seem useless for optimizations measurement) : --> <!-- -msoft-float --> </cel> |