Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc.old import GCC 7.4 as gcc.old
details: https://anonhg.NetBSD.org/src/rev/a97fb535f099
branches: trunk
changeset: 454717:a97fb535f099
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Sep 26 05:45:16 2019 +0000
description:
import GCC 7.4 as gcc.old
diffstat:
external/gpl3/gcc.old/README.gcc7 | 105 +
external/gpl3/gcc.old/dist/.gitattributes | 1 +
external/gpl3/gcc.old/dist/config/hwcaps.m4 | 60 +
external/gpl3/gcc.old/dist/contrib/analyze_brprob.py | 228 +
external/gpl3/gcc.old/dist/contrib/analyze_brprob_spec.py | 62 +
external/gpl3/gcc.old/dist/contrib/gen_autofdo_event.py | 155 +
external/gpl3/gcc.old/dist/contrib/mark_spam.py | 112 +
external/gpl3/gcc.old/dist/contrib/prerequisites.md5 | 4 +
external/gpl3/gcc.old/dist/contrib/prerequisites.sha512 | 4 +
external/gpl3/gcc.old/dist/fixincludes/tests/base/AvailabilityInternal.h | 31 +
external/gpl3/gcc.old/dist/fixincludes/tests/base/alloca.h | 18 +
external/gpl3/gcc.old/dist/fixincludes/tests/base/i386/setjmp.h | 14 +
external/gpl3/gcc.old/dist/fixincludes/tests/base/os/trace.h | 38 +
external/gpl3/gcc.old/dist/fixincludes/tests/base/setjmp.h | 14 +
external/gpl3/gcc.old/dist/gcc/brig-builtins.def | 659 +
external/gpl3/gcc.old/dist/gcc/brig/Make-lang.in | 246 +
external/gpl3/gcc.old/dist/gcc/brig/brig-builtins.h | 99 +
external/gpl3/gcc.old/dist/gcc/brig/brig-c.h | 66 +
external/gpl3/gcc.old/dist/gcc/brig/brig-lang.c | 807 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-arg-block-handler.cc | 66 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-atomic-inst-handler.cc | 265 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-basic-inst-handler.cc | 865 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-branch-inst-handler.cc | 221 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-cmp-inst-handler.cc | 198 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-code-entry-handler.cc | 1721 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-code-entry-handler.h | 425 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-comment-handler.cc | 38 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-control-handler.cc | 108 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-copy-move-inst-handler.cc | 73 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-cvt-inst-handler.cc | 260 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-fbarrier-handler.cc | 44 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-function-handler.cc | 374 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-function.cc | 723 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-function.h | 213 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-inst-mod-handler.cc | 58 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-label-handler.cc | 37 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-lane-inst-handler.cc | 85 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-machine.c | 44 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-machine.h | 33 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-mem-inst-handler.cc | 180 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-module-handler.cc | 41 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-queue-inst-handler.cc | 93 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-seg-inst-handler.cc | 146 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-signal-inst-handler.cc | 42 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-to-generic.cc | 797 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-to-generic.h | 225 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-util.cc | 447 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-util.h | 53 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/brig-variable-handler.cc | 264 +
external/gpl3/gcc.old/dist/gcc/brig/brigfrontend/phsa.h | 69 +
external/gpl3/gcc.old/dist/gcc/brig/brigspec.c | 135 +
external/gpl3/gcc.old/dist/gcc/brig/config-lang.in | 41 +
external/gpl3/gcc.old/dist/gcc/brig/lang-specs.h | 28 +
external/gpl3/gcc.old/dist/gcc/brig/lang.opt | 41 +
external/gpl3/gcc.old/dist/gcc/c-family/c-attribs.c | 3180 +
external/gpl3/gcc.old/dist/gcc/c-family/c-warn.c | 2286 +
external/gpl3/gcc.old/dist/gcc/c/c-parser.h | 189 +
external/gpl3/gcc.old/dist/gcc/c/gimple-parser.c | 1567 +
external/gpl3/gcc.old/dist/gcc/c/gimple-parser.h | 27 +
external/gpl3/gcc.old/dist/gcc/config/aarch64/aarch64-passes.def | 21 +
external/gpl3/gcc.old/dist/gcc/config/aarch64/arm_fp16.h | 579 +
external/gpl3/gcc.old/dist/gcc/config/aarch64/thunderx2t99.md | 443 +
external/gpl3/gcc.old/dist/gcc/config/alpha/alpha-passes.def | 21 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-arch.h | 123 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-arches.def | 56 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-c.c | 70 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-c.def | 74 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-cpus.def | 76 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-options.def | 111 +
external/gpl3/gcc.old/dist/gcc/config/arc/arc-tables.opt | 93 +
external/gpl3/gcc.old/dist/gcc/config/arc/big.h | 22 +
external/gpl3/gcc.old/dist/gcc/config/arc/driver-arc.c | 81 +
external/gpl3/gcc.old/dist/gcc/config/arc/elf.h | 60 +
external/gpl3/gcc.old/dist/gcc/config/arc/genmultilib.awk | 203 +
external/gpl3/gcc.old/dist/gcc/config/arc/genoptions.awk | 86 +
external/gpl3/gcc.old/dist/gcc/config/arc/linux.h | 85 +
external/gpl3/gcc.old/dist/gcc/config/arc/t-multilib | 34 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-cpu-cdata.h | 1044 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-cpu-data.h | 1740 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-cpu.h | 160 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-cpus.in | 1168 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-flags.h | 35 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm-isa.h | 157 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm_acle_builtins.def | 44 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm_cmse.h | 198 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm_fp16.h | 255 +
external/gpl3/gcc.old/dist/gcc/config/arm/arm_vfp_builtins.def | 51 +
external/gpl3/gcc.old/dist/gcc/config/arm/fuchsia-elf.h | 31 +
external/gpl3/gcc.old/dist/gcc/config/arm/parsecpu.awk | 500 +
external/gpl3/gcc.old/dist/gcc/config/arm/t-rmprofile | 175 +
external/gpl3/gcc.old/dist/gcc/config/avr/avr-passes.def | 42 +
external/gpl3/gcc.old/dist/gcc/config/epiphany/rtems.h | 28 +
external/gpl3/gcc.old/dist/gcc/config/fuchsia.h | 68 +
external/gpl3/gcc.old/dist/gcc/config/i386/avx5124fmapsintrin.h | 216 +
external/gpl3/gcc.old/dist/gcc/config/i386/avx5124vnniwintrin.h | 132 +
external/gpl3/gcc.old/dist/gcc/config/i386/avx512vpopcntdqintrin.h | 94 +
external/gpl3/gcc.old/dist/gcc/config/i386/gcc-auto-profile | 70 +
external/gpl3/gcc.old/dist/gcc/config/i386/i386-builtin.def | 2751 +
external/gpl3/gcc.old/dist/gcc/config/i386/i386-passes.def | 31 +
external/gpl3/gcc.old/dist/gcc/config/i386/sgxintrin.h | 177 +
external/gpl3/gcc.old/dist/gcc/config/mips/mips-msa.md | 2749 +
external/gpl3/gcc.old/dist/gcc/config/mips/msa.h | 582 +
external/gpl3/gcc.old/dist/gcc/config/netbsd-protos.h | 20 +
external/gpl3/gcc.old/dist/gcc/config/netbsd.c | 54 +
external/gpl3/gcc.old/dist/gcc/config/riscv/multilib-generator | 65 +
external/gpl3/gcc.old/dist/gcc/config/riscv/pic.md | 92 +
external/gpl3/gcc.old/dist/gcc/config/riscv/riscv-builtins.c | 287 +
external/gpl3/gcc.old/dist/gcc/config/riscv/riscv-c.c | 92 +
external/gpl3/gcc.old/dist/gcc/config/riscv/riscv-opts.h | 41 +
external/gpl3/gcc.old/dist/gcc/config/riscv/rtems.h | 31 +
external/gpl3/gcc.old/dist/gcc/config/riscv/t-elf-multilib | 30 +
external/gpl3/gcc.old/dist/gcc/config/riscv/t-linux | 3 +
external/gpl3/gcc.old/dist/gcc/config/riscv/t-linux-multilib | 46 +
external/gpl3/gcc.old/dist/gcc/config/riscv/t-riscv | 11 +
external/gpl3/gcc.old/dist/gcc/config/riscv/t-rtems | 25 +
external/gpl3/gcc.old/dist/gcc/config/rs6000/rs6000-passes.def | 27 +
external/gpl3/gcc.old/dist/gcc/config/sparc/default64.h | 22 +
external/gpl3/gcc.old/dist/gcc/config/sparc/m8.md | 242 +
external/gpl3/gcc.old/dist/gcc/config/sparc/sparc-passes.def | 27 +
external/gpl3/gcc.old/dist/gcc/cp/cp-cilkplus.h | 28 +
external/gpl3/gcc.old/dist/gcc/doc/cppdiropts.texi | 153 +
external/gpl3/gcc.old/dist/gcc/doc/cppwarnopts.texi | 82 +
external/gpl3/gcc.old/dist/gcc/edit-context.c | 1666 +
external/gpl3/gcc.old/dist/gcc/edit-context.h | 68 +
external/gpl3/gcc.old/dist/gcc/fibonacci_heap.c | 290 +
external/gpl3/gcc.old/dist/gcc/function-tests.c | 685 +
external/gpl3/gcc.old/dist/gcc/ggc-tests.c | 525 +
external/gpl3/gcc.old/dist/gcc/gimple-ssa-sprintf.c | 3745 ++
external/gpl3/gcc.old/dist/gcc/gimple-ssa-store-merging.c | 1669 +
external/gpl3/gcc.old/dist/gcc/gimple-ssa-warn-alloca.c | 556 +
external/gpl3/gcc.old/dist/gcc/hash-map-tests.c | 93 +
external/gpl3/gcc.old/dist/gcc/hash-set-tests.c | 69 +
external/gpl3/gcc.old/dist/gcc/hsa-builtins.def | 39 +
external/gpl3/gcc.old/dist/gcc/hsa-common.c | 994 +
external/gpl3/gcc.old/dist/gcc/hsa-common.h | 1412 +
external/gpl3/gcc.old/dist/gcc/memmodel.h | 114 +
external/gpl3/gcc.old/dist/gcc/omp-expand.c | 8388 ++++
external/gpl3/gcc.old/dist/gcc/omp-expand.h | 32 +
external/gpl3/gcc.old/dist/gcc/omp-general.c | 662 +
external/gpl3/gcc.old/dist/gcc/omp-general.h | 93 +
external/gpl3/gcc.old/dist/gcc/omp-grid.c | 1412 +
external/gpl3/gcc.old/dist/gcc/omp-grid.h | 27 +
external/gpl3/gcc.old/dist/gcc/omp-offload.c | 1970 +
external/gpl3/gcc.old/dist/gcc/omp-offload.h | 30 +
external/gpl3/gcc.old/dist/gcc/params-options.h | 27 +
external/gpl3/gcc.old/dist/gcc/print-rtl-function.c | 268 +
external/gpl3/gcc.old/dist/gcc/read-rtl-function.c | 2194 +
external/gpl3/gcc.old/dist/gcc/read-rtl-function.h | 28 +
external/gpl3/gcc.old/dist/gcc/rtl-tests.c | 249 +
external/gpl3/gcc.old/dist/gcc/run-rtl-passes.c | 66 +
external/gpl3/gcc.old/dist/gcc/run-rtl-passes.h | 25 +
external/gpl3/gcc.old/dist/gcc/selftest-rtl.c | 100 +
external/gpl3/gcc.old/dist/gcc/selftest-rtl.h | 91 +
external/gpl3/gcc.old/dist/gcc/selftest-run-tests.c | 115 +
external/gpl3/gcc.old/dist/gcc/selftest.c | 325 +
external/gpl3/gcc.old/dist/gcc/selftest.h | 326 +
external/gpl3/gcc.old/dist/gcc/spellcheck-tree.h | 77 +
external/gpl3/gcc.old/dist/gcc/substring-locations.c | 197 +
external/gpl3/gcc.old/dist/gcc/substring-locations.h | 102 +
external/gpl3/gcc.old/dist/gcc/tree-if-conv.h | 24 +
external/gpl3/gcc.old/dist/gcc/tree-ssa-ccp.h | 29 +
external/gpl3/gcc.old/dist/gcc/tree-ssa-loop-split.c | 717 +
external/gpl3/gcc.old/dist/gcc/tree-vrp.h | 59 +
external/gpl3/gcc.old/dist/gcc/typed-splay-tree.c | 79 +
external/gpl3/gcc.old/dist/include/gcc-cp-fe.def | 1050 +
external/gpl3/gcc.old/dist/include/gcc-cp-interface.h | 496 +
external/gpl3/gcc.old/dist/include/hsa.h | 635 +
external/gpl3/gcc.old/dist/libcc1/libcc1plugin.cc | 1020 +
external/gpl3/gcc.old/dist/libcc1/libcp1.cc | 706 +
external/gpl3/gcc.old/dist/libcc1/libcp1plugin.cc | 3798 ++
external/gpl3/gcc.old/dist/libcc1/libcp1plugin.sym | 2 +
external/gpl3/gcc.old/dist/libcc1/marshall-c.hh | 59 +
external/gpl3/gcc.old/dist/libcc1/marshall-cp.hh | 271 +
external/gpl3/gcc.old/dist/libgcc/config/aarch64/aarch64-unwind.h | 87 +
external/gpl3/gcc.old/dist/libgcc/config/aarch64/freebsd-unwind.h | 108 +
external/gpl3/gcc.old/dist/libgcc/config/aarch64/value-unwind.h | 25 +
external/gpl3/gcc.old/dist/libgcc/config/arc/crttls.S | 67 +
external/gpl3/gcc.old/dist/libgcc/config/arc/t-arc-uClibc | 38 +
external/gpl3/gcc.old/dist/libgcc/config/arm/cmse.c | 109 +
external/gpl3/gcc.old/dist/libgcc/config/arm/cmse_nonsecure_call.S | 131 +
external/gpl3/gcc.old/dist/libgcc/config/i386/cpuinfo.h | 117 +
external/gpl3/gcc.old/dist/libgcc/config/nvptx/crt0.c | 49 +
external/gpl3/gcc.old/dist/libgcc/config/nvptx/mgomp.c | 32 +
external/gpl3/gcc.old/dist/libgcc/config/pa/pa64-hpux-lib.h | 101 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/atomic.c | 111 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/div.S | 146 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/linux-unwind.h | 89 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/muldi3.S | 46 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/multi3.S | 81 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/save-restore.S | 463 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/sfp-machine.h | 137 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-elf32 | 1 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-elf64 | 1 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-netbsd | 17 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-netbsd64 | 4 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-softfp32 | 26 +
external/gpl3/gcc.old/dist/libgcc/config/riscv/t-softfp64 | 3 +
external/gpl3/gcc.old/dist/libgcc/gcov.h | 41 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/extendhftf2.c | 53 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/fixhfti.c | 45 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/fixunshfti.c | 45 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/floattihf.c | 45 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/floatuntihf.c | 45 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/half.h | 170 +
external/gpl3/gcc.old/dist/libgcc/soft-fp/trunctfhf2.c | 52 +
external/gpl3/gcc.old/dist/libgomp/affinity.c | 142 +
external/gpl3/gcc.old/dist/libgomp/atomic.c | 57 +
external/gpl3/gcc.old/dist/libgomp/config/darwin/thread-stacksize.h | 29 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/bar.h | 166 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/doacross.h | 60 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/icv-device.c | 74 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/mutex.h | 60 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/pool.h | 49 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/ptrlock.h | 73 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/sem.h | 65 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/simple-bar.h | 70 +
external/gpl3/gcc.old/dist/libgomp/config/nvptx/thread-stacksize.h | 27 +
external/gpl3/gcc.old/dist/libgomp/config/posix/simple-bar.h | 69 +
external/gpl3/gcc.old/dist/libgomp/config/posix/thread-stacksize.h | 27 +
external/gpl3/gcc.old/dist/libgomp/icv-device.c | 77 +
external/gpl3/gcc.old/dist/libgomp/icv.c | 218 +
external/gpl3/gcc.old/dist/libgomp/lock.c | 123 +
external/gpl3/gcc.old/dist/libgomp/plugin/cuda/cuda.h | 179 +
external/gpl3/gcc.old/dist/libgomp/plugin/hsa_ext_finalize.h | 270 +
external/gpl3/gcc.old/dist/libhsail-rt/Makefile.am | 122 +
external/gpl3/gcc.old/dist/libhsail-rt/Makefile.in | 742 +
external/gpl3/gcc.old/dist/libhsail-rt/README | 10 +
external/gpl3/gcc.old/dist/libhsail-rt/aclocal.m4 | 999 +
external/gpl3/gcc.old/dist/libhsail-rt/configure | 17038 ++++++++++
external/gpl3/gcc.old/dist/libhsail-rt/configure.ac | 152 +
external/gpl3/gcc.old/dist/libhsail-rt/configure.tgt | 36 +
external/gpl3/gcc.old/dist/libhsail-rt/include/internal/fibers.h | 99 +
external/gpl3/gcc.old/dist/libhsail-rt/include/internal/phsa-queue-interface.h | 60 +
external/gpl3/gcc.old/dist/libhsail-rt/include/internal/phsa-rt.h | 94 +
external/gpl3/gcc.old/dist/libhsail-rt/include/internal/workitems.h | 107 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/arithmetic.c | 459 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/atomics.c | 115 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/bitstring.c | 190 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/fbarrier.c | 87 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/fibers.c | 220 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/fp16.c | 135 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/misc.c | 89 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/multimedia.c | 135 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/queue.c | 71 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/sat_arithmetic.c | 267 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/segment.c | 59 +
external/gpl3/gcc.old/dist/libhsail-rt/rt/workitems.c | 952 +
external/gpl3/gcc.old/dist/libhsail-rt/target-config.h.in | 68 +
external/gpl3/gcc.old/dist/libiberty/rust-demangle.c | 348 +
external/gpl3/gcc.old/dist/libsanitizer/LOCAL_PATCHES | 6 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_descriptions.cc | 484 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_descriptions.h | 251 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_errors.cc | 494 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_errors.h | 376 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_memory_profile.cc | 98 +
external/gpl3/gcc.old/dist/libsanitizer/asan/asan_scariness_score.h | 72 +
external/gpl3/gcc.old/dist/libsanitizer/builtins/assembly.h | 169 +
external/gpl3/gcc.old/dist/libsanitizer/include/sanitizer/esan_interface.h | 48 +
external/gpl3/gcc.old/dist/libsanitizer/include/system/sys/ptrace.h | 7 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_bytemap.h | 100 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_combined.h | 209 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_local_cache.h | 246 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary32.h | 304 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_primary64.h | 505 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_secondary.h | 271 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_size_class_map.h | 215 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_allocator_stats.h | 103 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux_mips64.S | 23 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux_s390.cc | 213 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_linux_x86_64.S | 25 +
external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common/sanitizer_termination.cc | 84 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_debugging.cc | 160 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_interceptors_mac.cc | 357 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_ppc_regs.h | 96 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_preinit.cc | 25 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_rtl_mips64.S | 214 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_rtl_ppc64.S | 288 +
external/gpl3/gcc.old/dist/libsanitizer/tsan/tsan_rtl_proc.cc | 59 +
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/i386-solaris2.10/amd64/baseline_symbols.txt | 5364 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/i386-solaris2.10/baseline_symbols.txt | 5306 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/i386-solaris2.11/amd64/baseline_symbols.txt | 5366 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/i386-solaris2.11/baseline_symbols.txt | 5308 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/sparc-solaris2.10/baseline_symbols.txt | 5299 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/sparc-solaris2.10/sparcv9/baseline_symbols.txt | 5357 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/sparc-solaris2.11/baseline_symbols.txt | 5301 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/abi/post/sparc-solaris2.11/sparcv9/baseline_symbols.txt | 5359 +++
external/gpl3/gcc.old/dist/libstdc++-v3/config/locale/dragonfly/xlocale_port.h | 70 +
external/gpl3/gcc.old/dist/libstdc++-v3/doc/xml/manual/status_cxxis29124.xml | 315 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/invoke.h | 104 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/node_handle.h | 293 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/refwrap.h | 398 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/std_abs.h | 110 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/std_function.h | 811 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/string_view.tcc | 225 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/experimental/source_location | 86 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/std/any | 632 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/std/optional | 1043 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/std/string_view | 676 +
external/gpl3/gcc.old/dist/libstdc++-v3/include/std/variant | 1319 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/cxxabi_init_exception.h | 80 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opa.cc | 58 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opant.cc | 33 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opsa.cc | 33 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opva.cc | 36 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opvant.cc | 33 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/del_opvsa.cc | 33 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/eh_atomics.h | 84 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/exception.h | 78 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/new_opa.cc | 138 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/new_opant.cc | 42 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/new_opva.cc | 33 +
external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/new_opvant.cc | 42 +
external/gpl3/gcc.old/dist/libstdc++-v3/src/c++11/mutex_pool.h | 34 +
external/gpl3/gcc.old/dist/maintainer-scripts/branch_changer.py | 225 +
external/gpl3/gcc.old/lib/Makefile.gthr | 43 +
external/gpl3/gcc.old/lib/libgcc/arch/aarch64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/alpha/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/arm/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/armeb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earm/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmeb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmhf/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmhfeb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv4/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv4eb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv6/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv6eb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hf/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv6hfeb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv7/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv7eb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hf/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/earmv7hfeb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/hppa/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/i386/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/ia64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/m68000/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/m68k/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/mips64eb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/mips64el/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/mipseb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/mipsel/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/powerpc/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/powerpc64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/riscv32/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/riscv64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/sh3eb/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/sh3el/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/sparc/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/sparc64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/vax/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgcc/arch/x86_64/gthr-defs.mk | 9 +
external/gpl3/gcc.old/lib/libgomp/defs.mk | 5 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/aarch64/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/alpha/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/arm/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/armeb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earm/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmeb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhf/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmhfeb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv4eb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6eb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hf/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv6hfeb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7eb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hf/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/earmv7hfeb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/hppa/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/i386/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/ia64/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/m68000/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/m68k/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mips64eb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mips64el/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipseb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/mipsel/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/powerpc/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/powerpc64/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/riscv32/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/riscv64/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3eb/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sh3el/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sparc/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/sparc64/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/symver-config.h | 1319 +
external/gpl3/gcc.old/lib/libstdc++-v3/arch/x86_64/symver-config.h | 1319 +
external/gpl3/gcc.old/usr.bin/Makefile.driver | 20 +
external/gpl3/gcc.old/usr.bin/Makefile.prog | 21 +
external/gpl3/gcc.old/usr.bin/common-target/arch/aarch64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/alpha.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/arm.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/armeb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earm.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmeb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmhf.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmhfeb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv4.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv4eb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv6.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv6eb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv6hf.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv6hfeb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv7.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv7eb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv7hf.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/earmv7hfeb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/hppa.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/i386.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/ia64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/m68000.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/m68k.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/mips64eb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/mips64el.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/mipseb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/mipsel.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/powerpc.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/powerpc64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/riscv32.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/riscv64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/sh3eb.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/sh3el.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/sparc.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/sparc64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/vax.mk | 5 +
external/gpl3/gcc.old/usr.bin/common-target/arch/x86_64.mk | 5 +
external/gpl3/gcc.old/usr.bin/common/defs.mk | 5 +
external/gpl3/gcc.old/usr.bin/gcc/arch/riscv32/insn-modes.h | 457 +
external/gpl3/gcc.old/usr.bin/gcc/arch/riscv64/insn-modes.h | 457 +
432 files changed, 204742 insertions(+), 0 deletions(-)
diffs (truncated from 206470 to 300 lines):
diff -r 37c83a32b833 -r a97fb535f099 external/gpl3/gcc.old/README.gcc7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/README.gcc7 Thu Sep 26 05:45:16 2019 +0000
@@ -0,0 +1,105 @@
+$NetBSD: README.gcc7,v 1.1.1.1 2019/09/26 05:45:16 mrg Exp $
+
+new stuff (from gcc 5):
+ cc1objcplus
+ libcilkrts
+ libmpx
+ liboffloadmic
+ libvtv
+
+arch/feature list.
+
+tools: does build.sh tools work?
+kernels: does a kernel run?
+libgcc: does libgcc build?
+native-gcc: does a full mknative-gcc complete?
+make release: does build.sh release complete?
+runs: does the system boot with a full world?
+atf: does atf run / compare well
+switched: has port switched? y (yes), n (no/ready), ? (not ready)
+
+
+architecture tools kernels libgcc native-gcc make release runs atf switched
+------------ ----- ------- ------ ---------- ------------ ---- --- --------
+aarch64 y y y y y y y y
+alpha y y y y y y ? y
+arm y y y y y y ? y
+armeb y y y y y ? ? y
+earmv4 y y y y y y ??? y
+earmv4eb y ? y y ? ? ? y
+earm y ? y y ? ? ? y
+earmeb y ? y y ? ? ? y
+earmhf y ? y y ? ? ? y
+earmhfeb y ? y y ? ? ? y
+earmv6 y ? y y ? ? ? y
+earmv6eb y ? y y ? ? ? y
+earmv6hf y ? y y ? ? ? y
+earmv6hfeb y ? y y ? ? ? y
+earmv7 y ? y y ? ? ? y
+earmv7eb y ? y y ? ? ? y
+earmv7hf y ? y y ? ? ? y
+earmv7hfeb y ? y y ? ? ? y
+hppa y y y y y y y y
+i386 y y y y y y y y
+ia64 y y y y y [2] ? ?
+m68000 y y y y y ? ? y
+m68k y y y y y y ? y
+mipseb y y y y y ? ? y
+mipsel y y y y y ? ? y
+mips64eb y y y y y y y y
+mips64el y y y y y ? ? y
+powerpc y y y y y y ? y
+powerpc64 y ? y y n[9] ? ? ?
+sh3eb y y y y y ? ? y
+sh3el y y y y y y ? y
+sparc y y y y y y ? y
+sparc64 y y y y y y ? y
+vax y y y y y y n[1] y
+x86_64 y y y y y y y y
+--
+or1k
+riscv32
+riscv64
+coldfire ? N/A ? ? ? N/A N/A
+------------ ----- ------- ------ ---------- ------------ ---- ---
+architecture tools kernels libgcc native-gcc make release runs atf
+
+[1] - vax atf is busted due to c++ exceptions not working
+[2] - kernel fails earlier than gcc6 kernel.
+[9] - /usr/src6/external/gpl3/gcc/dist/libgcc/libgcc2.c:2036:1: error: unrecognizable insn:
+
+CPU vs platform test table (for CPUs with multiple ports). this is "make release" or just kernels.
+values: y (yes), k (kernels only), n (failed), r (running), ? (not attempted)
+
+CPU platform list
+--- -------- ----
+ acorn32 cats epoc32 evbarm-eb evbarm-el hpcarm iyonix netwinder shark zaurus
+arm: ? ? ? ? ? ? ? ? y ?
+earmv4: y y y k k y - y y -
+earm: - - - y y - y - - k
+earmhf: - - - r y - - - - -
+earmv6: - - - k k - - - - -
+earmv6hf: - - - k k - - - - -
+earmv7: - - - k k - - - - -
+earmv7hf: - - - k k - - - - -
+
+ amiga atari cesfic hp300 luna68k mac68k mvme68k news68k next68k sun3 x68k
+m68k: y y k y y y[1] y y y y y
+
+ evbmips emips ews4800mips mipsco newsmips sgimips
+mipseb: y y y y y y
+
+ evbmips algor arc cobalt hpcmips pmax
+mipsel: y y y y y y
+
+ algor evbmips pmax
+mips64eb: - y -
+mips64el: y y y
+
+ amigappc bebox evbppc ibmnws macppc mvmeppc ofppc prep rs6000 sandpoint
+powerpc: y y y y y y y y y y
+powerpc64: - - ?[9] - ?[9] - ?[9] - - -
+
+ dreamcast evbsh3 hpcsh landisk mmeye
+sh3eb: - y - - y
+sh3el: y y y y -
diff -r 37c83a32b833 -r a97fb535f099 external/gpl3/gcc.old/dist/.gitattributes
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/.gitattributes Thu Sep 26 05:45:16 2019 +0000
@@ -0,0 +1,1 @@
+*.{c,C,cc,h} whitespace=indent-with-non-tab,space-before-tab,trailing-space
diff -r 37c83a32b833 -r a97fb535f099 external/gpl3/gcc.old/dist/config/hwcaps.m4
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/config/hwcaps.m4 Thu Sep 26 05:45:16 2019 +0000
@@ -0,0 +1,60 @@
+dnl
+dnl Check if the assembler used supports disabling generation of hardware
+dnl capabilities. This is only supported by Solaris as at the moment.
+dnl
+dnl Defines:
+dnl HWCAP_CFLAGS='-Wa,-nH' if possible.
+dnl
+AC_DEFUN([GCC_CHECK_ASSEMBLER_HWCAP], [
+ test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
+
+ # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
+ # with a different meaning.
+ case ${target_os} in
+ solaris2*)
+ ac_save_CFLAGS="$CFLAGS"
+ CFLAGS="$CFLAGS -Wa,-nH"
+
+ AC_MSG_CHECKING([for as that supports -Wa,-nH])
+ AC_TRY_COMPILE([], [return 0;], [ac_hwcap_flags=yes],[ac_hwcap_flags=no])
+ if test "$ac_hwcap_flags" = "yes"; then
+ HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
+ fi
+ AC_MSG_RESULT($ac_hwcap_flags)
+
+ CFLAGS="$ac_save_CFLAGS"
+ ;;
+ esac
+
+ AC_SUBST(HWCAP_CFLAGS)
+])
+
+
+dnl
+dnl Check if the linker used supports linker maps to clear hardware
+dnl capabilities. This is only supported on Solaris at the moment.
+dnl
+dnl Defines:
+dnl HWCAP_LDFLAGS=-mclear-hwcap if possible
+dnl LD (as a side effect of testing)
+dnl
+AC_DEFUN([GCC_CHECK_LINKER_HWCAP], [
+ test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
+ AC_REQUIRE([AC_PROG_LD])
+
+ ac_save_LDFLAGS="$LDFLAGS"
+ LDFLAGS="$LFLAGS -mclear-hwcap"
+
+ AC_MSG_CHECKING([for -mclear-hwcap])
+ AC_TRY_LINK([], [return 0;], [ac_hwcap_ldflags=yes],[ac_hwcap_ldflags=no])
+ if test "$ac_hwcap_ldflags" = "yes"; then
+ HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
+ fi
+ AC_MSG_RESULT($ac_hwcap_ldflags)
+
+ LDFLAGS="$ac_save_LDFLAGS"
+
+ AC_SUBST(HWCAP_LDFLAGS)
+
+ AM_CONDITIONAL(HAVE_HWCAP, test $ac_hwcap_ldflags != no)
+])
diff -r 37c83a32b833 -r a97fb535f099 external/gpl3/gcc.old/dist/contrib/analyze_brprob.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/external/gpl3/gcc.old/dist/contrib/analyze_brprob.py Thu Sep 26 05:45:16 2019 +0000
@@ -0,0 +1,228 @@
+#!/usr/bin/env python3
+#
+# Script to analyze results of our branch prediction heuristics
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free
+# Software Foundation; either version 3, or (at your option) any later
+# version.
+#
+# GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3. If not see
+# <http://www.gnu.org/licenses/>. */
+#
+#
+#
+# This script is used to calculate two basic properties of the branch prediction
+# heuristics - coverage and hitrate. Coverage is number of executions
+# of a given branch matched by the heuristics and hitrate is probability
+# that once branch is predicted as taken it is really taken.
+#
+# These values are useful to determine the quality of given heuristics.
+# Hitrate may be directly used in predict.def.
+#
+# Usage:
+# Step 1: Compile and profile your program. You need to use -fprofile-generate
+# flag to get the profiles.
+# Step 2: Make a reference run of the intrumented application.
+# Step 3: Compile the program with collected profile and dump IPA profiles
+# (-fprofile-use -fdump-ipa-profile-details)
+# Step 4: Collect all generated dump files:
+# find . -name '*.profile' | xargs cat > dump_file
+# Step 5: Run the script:
+# ./analyze_brprob.py dump_file
+# and read results. Basically the following table is printed:
+#
+# HEURISTICS BRANCHES (REL) HITRATE COVERAGE (REL)
+# early return (on trees) 3 0.2% 35.83% / 93.64% 66360 0.0%
+# guess loop iv compare 8 0.6% 53.35% / 53.73% 11183344 0.0%
+# call 18 1.4% 31.95% / 69.95% 51880179 0.2%
+# loop guard 23 1.8% 84.13% / 84.85% 13749065956 42.2%
+# opcode values positive (on trees) 42 3.3% 15.71% / 84.81% 6771097902 20.8%
+# opcode values nonequal (on trees) 226 17.6% 72.48% / 72.84% 844753864 2.6%
+# loop exit 231 18.0% 86.97% / 86.98% 8952666897 27.5%
+# loop iterations 239 18.6% 91.10% / 91.10% 3062707264 9.4%
+# DS theory 281 21.9% 82.08% / 83.39% 7787264075 23.9%
+# no prediction 293 22.9% 46.92% / 70.70% 2293267840 7.0%
+# guessed loop iterations 313 24.4% 76.41% / 76.41% 10782750177 33.1%
+# first match 708 55.2% 82.30% / 82.31% 22489588691 69.0%
+# combined 1282 100.0% 79.76% / 81.75% 32570120606 100.0%
+#
+#
+# The heuristics called "first match" is a heuristics used by GCC branch
+# prediction pass and it predicts 55.2% branches correctly. As you can,
+# the heuristics has very good covertage (69.05%). On the other hand,
+# "opcode values nonequal (on trees)" heuristics has good hirate, but poor
+# coverage.
+
+import sys
+import os
+import re
+import argparse
+
+from math import *
+
+counter_aggregates = set(['combined', 'first match', 'DS theory',
+ 'no prediction'])
+
+def percentage(a, b):
+ return 100.0 * a / b
+
+def average(values):
+ return 1.0 * sum(values) / len(values)
+
+def average_cutoff(values, cut):
+ l = len(values)
+ skip = floor(l * cut / 2)
+ if skip > 0:
+ values.sort()
+ values = values[skip:-skip]
+ return average(values)
+
+def median(values):
+ values.sort()
+ return values[int(len(values) / 2)]
+
+class Summary:
+ def __init__(self, name):
+ self.name = name
+ self.branches = 0
+ self.successfull_branches = 0
+ self.count = 0
+ self.hits = 0
+ self.fits = 0
+
+ def get_hitrate(self):
+ return 100.0 * self.hits / self.count
+
+ def get_branch_hitrate(self):
+ return 100.0 * self.successfull_branches / self.branches
+
+ def count_formatted(self):
+ v = self.count
+ for unit in ['','K','M','G','T','P','E','Z']:
+ if v < 1000:
+ return "%3.2f%s" % (v, unit)
+ v /= 1000.0
+ return "%.1f%s" % (v, 'Y')
+
+ def print(self, branches_max, count_max):
+ print('%-40s %8i %5.1f%% %11.2f%% %7.2f%% / %6.2f%% %14i %8s %5.1f%%' %
+ (self.name, self.branches,
Home |
Main Index |
Thread Index |
Old Index