├── configs └── boot │ ├── null.rcS │ ├── halt.sh │ ├── bn-app.rcS │ ├── micro_stream.rcS │ ├── micro_streamcopy.rcS │ ├── micro_streamscale.rcS │ ├── micro_ctx.rcS │ ├── micro_memlat8.rcS │ ├── micro_syscall.rcS │ ├── micro_memlat2mb.rcS │ ├── micro_memlat8mb.rcS │ ├── micro_tlblat.rcS │ ├── micro_tlblat2.rcS │ ├── micro_tlblat3.rcS │ ├── mutex-test.rcS │ ├── micro_memlat.rcS │ ├── bzip.rcS │ ├── ls.rcS │ ├── gcc.rcS │ ├── gzip.rcS │ ├── ammp.rcS │ ├── devtime.rcS │ ├── mcf.rcS │ ├── equake.rcS │ ├── mesa.rcS │ ├── bonnie.rcS │ ├── art.rcS │ ├── netperf-stream-udp-local.rcS │ ├── bbench-gb.rcS │ ├── bbench-ics.rcS │ ├── ping-client.rcS │ └── ping-server.rcS ├── tests ├── halt.sh ├── quick │ ├── se │ │ ├── 50.memtest │ │ │ └── ref │ │ │ │ ├── null │ │ │ │ └── none │ │ │ │ │ ├── memtest │ │ │ │ │ └── EMPTY │ │ │ │ │ └── memtest-filter │ │ │ │ │ └── EMPTY │ │ │ │ └── alpha │ │ │ │ └── linux │ │ │ │ ├── memtest-ruby │ │ │ │ └── EMPTY │ │ │ │ ├── memtest-ruby-MOESI_hammer │ │ │ │ └── EMPTY │ │ │ │ ├── memtest-ruby-MESI_Two_Level │ │ │ │ └── EMPTY │ │ │ │ ├── memtest-ruby-MOESI_CMP_token │ │ │ │ └── EMPTY │ │ │ │ └── memtest-ruby-MOESI_CMP_directory │ │ │ │ └── EMPTY │ │ ├── 51.memcheck │ │ │ └── ref │ │ │ │ └── null │ │ │ │ └── none │ │ │ │ └── memcheck │ │ │ │ └── EMPTY │ │ ├── 70.tgen │ │ │ ├── ref │ │ │ │ └── null │ │ │ │ │ └── none │ │ │ │ │ ├── tgen-simple-mem │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ └── tgen-dram-ctrl │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ ├── tgen-simple-mem.trc │ │ │ └── traffic.cfg │ │ ├── 02.insttest │ │ │ └── ref │ │ │ │ ├── riscv │ │ │ │ ├── linux-rv64i │ │ │ │ │ ├── minor-timing │ │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── simple-atomic │ │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── simple-timing │ │ │ │ │ │ └── EMPTY │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ │ └── EMPTY │ │ │ │ ├── linux-rv64a │ │ │ │ │ ├── simple-atomic │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── minor-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ │ └── simerr │ │ │ │ ├── linux-rv64d │ │ │ │ │ ├── simple-atomic │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── minor-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ │ └── simerr │ │ │ │ ├── linux-rv64f │ │ │ │ │ ├── simple-atomic │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── minor-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ ├── o3-timing │ │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ │ └── simerr │ │ │ │ └── linux-rv64m │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ └── simerr │ │ │ │ │ ├── minor-timing │ │ │ │ │ └── simerr │ │ │ │ │ ├── o3-timing │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ └── simerr │ │ │ │ └── sparc │ │ │ │ └── linux │ │ │ │ ├── simple-atomic │ │ │ │ └── simerr │ │ │ │ ├── simple-timing │ │ │ │ └── simerr │ │ │ │ └── o3-timing │ │ │ │ └── simerr │ │ ├── 03.learning-gem5 │ │ │ ├── test.py │ │ │ └── ref │ │ │ │ ├── alpha │ │ │ │ └── linux │ │ │ │ │ ├── learning-gem5-p1-simple │ │ │ │ │ └── simerr │ │ │ │ │ └── learning-gem5-p1-two-level │ │ │ │ │ └── simerr │ │ │ │ ├── mips │ │ │ │ └── linux │ │ │ │ │ ├── learning-gem5-p1-simple │ │ │ │ │ └── simerr │ │ │ │ │ └── learning-gem5-p1-two-level │ │ │ │ │ └── simerr │ │ │ │ ├── arm │ │ │ │ └── linux │ │ │ │ │ ├── learning-gem5-p1-simple │ │ │ │ │ └── simerr │ │ │ │ │ └── learning-gem5-p1-two-level │ │ │ │ │ └── simerr │ │ │ │ ├── sparc │ │ │ │ └── linux │ │ │ │ │ ├── learning-gem5-p1-simple │ │ │ │ │ └── simerr │ │ │ │ │ └── learning-gem5-p1-two-level │ │ │ │ │ └── simerr │ │ │ │ └── x86 │ │ │ │ └── linux │ │ │ │ ├── learning-gem5-p1-simple │ │ │ │ └── simerr │ │ │ │ └── learning-gem5-p1-two-level │ │ │ │ └── simerr │ │ ├── 70.twolf │ │ │ └── ref │ │ │ │ ├── sparc │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ ├── smred.pl2 │ │ │ │ │ ├── smred.sav │ │ │ │ │ ├── simerr │ │ │ │ │ ├── smred.sv2 │ │ │ │ │ ├── smred.pl1 │ │ │ │ │ └── smred.twf │ │ │ │ │ └── simple-timing │ │ │ │ │ ├── smred.pl2 │ │ │ │ │ ├── smred.sav │ │ │ │ │ ├── simerr │ │ │ │ │ ├── smred.sv2 │ │ │ │ │ ├── smred.pl1 │ │ │ │ │ └── smred.twf │ │ │ │ ├── x86 │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ ├── smred.pl2 │ │ │ │ │ ├── smred.sav │ │ │ │ │ ├── smred.sv2 │ │ │ │ │ ├── simerr │ │ │ │ │ ├── smred.pl1 │ │ │ │ │ └── smred.twf │ │ │ │ │ └── simple-timing │ │ │ │ │ ├── smred.pl2 │ │ │ │ │ ├── smred.sav │ │ │ │ │ ├── smred.sv2 │ │ │ │ │ ├── simerr │ │ │ │ │ ├── smred.pl1 │ │ │ │ │ └── smred.twf │ │ │ │ └── arm │ │ │ │ └── linux │ │ │ │ ├── simple-atomic │ │ │ │ └── simerr │ │ │ │ └── simple-timing │ │ │ │ └── simerr │ │ ├── 40.m5threads-test-atomic │ │ │ ├── ref │ │ │ │ └── sparc │ │ │ │ │ └── linux │ │ │ │ │ ├── simple-timing-mp-ruby │ │ │ │ │ ├── skip │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-atomic-mp │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing-mp │ │ │ │ │ └── simerr │ │ │ │ │ └── o3-timing-mp │ │ │ │ │ └── simerr │ │ │ └── test.py │ │ ├── 00.hello │ │ │ └── ref │ │ │ │ ├── alpha │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── simple-timing │ │ │ │ │ └── simerr │ │ │ │ │ ├── minor-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── o3-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ └── simerr │ │ │ │ ├── mips │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── simple-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── o3-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ └── simerr │ │ │ │ ├── arm │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ └── simerr │ │ │ │ │ ├── o3-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── minor-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ ├── simple-atomic-dummychecker │ │ │ │ │ └── simerr │ │ │ │ │ └── o3-timing-checker │ │ │ │ │ └── simerr │ │ │ │ ├── power │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ └── o3-timing │ │ │ │ │ └── simerr │ │ │ │ ├── sparc │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ └── simerr │ │ │ │ ├── x86 │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ ├── simple-timing │ │ │ │ │ └── simerr │ │ │ │ │ ├── o3-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ └── simple-timing-ruby │ │ │ │ │ └── simerr │ │ │ │ └── riscv │ │ │ │ └── linux │ │ │ │ ├── simple-atomic │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ ├── simple-timing │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ ├── o3-timing │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ ├── minor-timing │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ └── simple-timing-ruby │ │ │ │ └── simout │ │ ├── 10.mcf │ │ │ └── ref │ │ │ │ ├── arm │ │ │ │ └── linux │ │ │ │ │ ├── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ └── simple-timing │ │ │ │ │ └── simerr │ │ │ │ ├── sparc │ │ │ │ └── linux │ │ │ │ │ └── simple-atomic │ │ │ │ │ └── simerr │ │ │ │ └── x86 │ │ │ │ └── linux │ │ │ │ └── simple-atomic │ │ │ │ └── simerr │ │ ├── 50.vortex │ │ │ └── ref │ │ │ │ └── arm │ │ │ │ └── linux │ │ │ │ ├── simple-atomic │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ └── simple-timing │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ ├── 60.rubytest │ │ │ └── ref │ │ │ │ └── null │ │ │ │ └── none │ │ │ │ ├── rubytest-ruby │ │ │ │ ├── simerr │ │ │ │ └── simout │ │ │ │ ├── rubytest-ruby-MOESI_hammer │ │ │ │ └── simerr │ │ │ │ ├── rubytest-ruby-MESI_Two_Level │ │ │ │ └── simerr │ │ │ │ ├── rubytest-ruby-MOESI_CMP_token │ │ │ │ └── simerr │ │ │ │ └── rubytest-ruby-MOESI_CMP_directory │ │ │ │ └── simerr │ │ ├── 04.gpu │ │ │ └── ref │ │ │ │ └── x86 │ │ │ │ └── linux │ │ │ │ ├── gpu-ruby-GPU_VIPER │ │ │ │ └── simerr │ │ │ │ ├── gpu-ruby-GPU_VIPER_Region │ │ │ │ └── simerr │ │ │ │ ├── gpu-ruby-GPU_VIPER_Baseline │ │ │ │ └── simerr │ │ │ │ └── gpu-ruby-GPU_RfO │ │ │ │ └── simerr │ │ ├── 01.hello-2T-smt │ │ │ └── ref │ │ │ │ └── alpha │ │ │ │ └── linux │ │ │ │ └── o3-timing-mt │ │ │ │ └── simerr │ │ └── 60.gpu-randomtest │ │ │ └── ref │ │ │ └── x86 │ │ │ └── linux │ │ │ └── gpu-randomtest-ruby-GPU_RfO │ │ │ └── simerr │ └── fs │ │ ├── 10.linux-boot │ │ └── ref │ │ │ ├── arm │ │ │ └── linux │ │ │ │ ├── realview-switcheroo-atomic │ │ │ │ └── EMPTY │ │ │ │ ├── realview-switcheroo-timing │ │ │ │ └── EMPTY │ │ │ │ └── realview-simple-atomic-checkpoint │ │ │ │ └── EMPTY │ │ │ ├── alpha │ │ │ └── linux │ │ │ │ ├── tsunami-simple-atomic │ │ │ │ └── simerr │ │ │ │ ├── tsunami-simple-timing │ │ │ │ └── simerr │ │ │ │ ├── tsunami-simple-atomic-dual │ │ │ │ └── simerr │ │ │ │ └── tsunami-simple-timing-dual │ │ │ │ └── simerr │ │ │ └── x86 │ │ │ └── linux │ │ │ ├── pc-simple-atomic │ │ │ ├── simerr │ │ │ └── simout │ │ │ └── pc-simple-timing │ │ │ ├── simerr │ │ │ └── simout │ │ └── 80.netperf-stream │ │ └── ref │ │ └── alpha │ │ └── linux │ │ └── twosys-tsunami-simple-atomic │ │ └── simerr ├── long │ ├── fs │ │ ├── 10.linux-boot │ │ │ └── ref │ │ │ │ ├── arm │ │ │ │ └── linux │ │ │ │ │ ├── realview-o3-checker │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview-switcheroo-full │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview-switcheroo-o3 │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-o3-checker │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-switcheroo-o3 │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-switcheroo-atomic │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-switcheroo-full │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-switcheroo-timing │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-simple-atomic-checkpoint │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── realview64-simple-atomic │ │ │ │ │ └── simerr │ │ │ │ │ ├── realview-o3 │ │ │ │ │ └── simout │ │ │ │ │ └── realview64-o3 │ │ │ │ │ └── simerr │ │ │ │ ├── x86 │ │ │ │ └── linux │ │ │ │ │ ├── pc-switcheroo-full │ │ │ │ │ └── EMPTY │ │ │ │ │ ├── pc-o3-timing │ │ │ │ │ ├── simerr │ │ │ │ │ └── simout │ │ │ │ │ └── pc-simple-timing-ruby-MESI_Two_Level │ │ │ │ │ └── simerr │ │ │ │ └── alpha │ │ │ │ └── linux │ │ │ │ ├── tsunami-switcheroo-full │ │ │ │ └── EMPTY │ │ │ │ ├── tsunami-o3 │ │ │ │ └── simerr │ │ │ │ ├── tsunami-minor │ │ │ │ └── simerr │ │ │ │ └── tsunami-o3-dual │ │ │ │ └── simerr │ │ └── 80.solaris-boot │ │ │ └── ref │ │ │ └── sparc │ │ │ └── solaris │ │ │ └── t1000-simple-atomic │ │ │ └── system.t1000.hterm │ └── se │ │ ├── 70.twolf │ │ └── ref │ │ │ ├── x86 │ │ │ └── linux │ │ │ │ └── o3-timing │ │ │ │ ├── smred.pl2 │ │ │ │ ├── smred.sav │ │ │ │ ├── smred.sv2 │ │ │ │ ├── smred.pl1 │ │ │ │ └── smred.twf │ │ │ └── arm │ │ │ └── linux │ │ │ ├── minor-timing │ │ │ └── simerr │ │ │ └── o3-timing │ │ │ └── simerr │ │ ├── 10.mcf │ │ └── ref │ │ │ ├── x86 │ │ │ └── linux │ │ │ │ ├── simple-timing │ │ │ │ └── simerr │ │ │ │ └── o3-timing │ │ │ │ └── simerr │ │ │ ├── sparc │ │ │ └── linux │ │ │ │ └── simple-timing │ │ │ │ └── simerr │ │ │ └── arm │ │ │ └── linux │ │ │ ├── minor-timing │ │ │ └── simerr │ │ │ └── o3-timing │ │ │ └── simerr │ │ ├── 50.vortex │ │ └── ref │ │ │ └── arm │ │ │ └── linux │ │ │ ├── minor-timing │ │ │ ├── simerr │ │ │ └── simout │ │ │ └── o3-timing │ │ │ ├── simerr │ │ │ └── simout │ │ ├── 40.perlbmk │ │ └── ref │ │ │ └── arm │ │ │ └── linux │ │ │ ├── minor-timing │ │ │ └── simerr │ │ │ ├── simple-atomic │ │ │ └── simerr │ │ │ ├── simple-timing │ │ │ └── simerr │ │ │ └── o3-timing │ │ │ └── simerr │ │ ├── 20.parser │ │ └── ref │ │ │ ├── arm │ │ │ └── linux │ │ │ │ ├── simple-atomic │ │ │ │ └── simerr │ │ │ │ ├── simple-timing │ │ │ │ └── simerr │ │ │ │ ├── minor-timing │ │ │ │ └── simerr │ │ │ │ └── o3-timing │ │ │ │ └── simerr │ │ │ └── x86 │ │ │ └── linux │ │ │ ├── simple-atomic │ │ │ └── simerr │ │ │ └── simple-timing │ │ │ └── simerr │ │ └── 60.bzip2 │ │ └── ref │ │ ├── arm │ │ └── linux │ │ │ ├── minor-timing │ │ │ └── simerr │ │ │ ├── simple-atomic │ │ │ └── simerr │ │ │ ├── simple-timing │ │ │ └── simerr │ │ │ └── o3-timing │ │ │ └── simerr │ │ └── x86 │ │ └── linux │ │ ├── simple-atomic │ │ └── simerr │ │ └── simple-timing │ │ └── simerr └── test-progs │ ├── hello │ └── bin │ │ ├── arm │ │ └── linux │ │ │ └── hello │ │ ├── x86 │ │ └── linux │ │ │ ├── hello │ │ │ └── hello32 │ │ ├── alpha │ │ └── linux │ │ │ └── hello │ │ ├── mips │ │ └── linux │ │ │ └── hello │ │ ├── power │ │ └── linux │ │ │ └── hello │ │ ├── riscv │ │ └── linux │ │ │ └── hello │ │ └── sparc │ │ └── linux │ │ └── hello │ ├── gpu-hello │ └── bin │ │ └── x86 │ │ └── linux │ │ ├── gpu-hello │ │ └── gpu-hello-kernel.asm │ └── mwait │ └── Makefile ├── util ├── tlm │ └── .gitignore ├── systemc │ └── .gitignore ├── cpt_upgraders │ ├── multiple-event-queues.py │ ├── ide-dma-abort.py │ ├── cpu-pid.py │ ├── ruby-block-size-bytes.py │ ├── remove-arm-cpsr-mode-miscreg.py │ ├── arm-contextidr-el2.py │ ├── x86-add-tlb.py │ ├── dvfs-perflevel.py │ ├── arm-miscreg-teehbr.py │ └── smt-interrupts.py └── ccdrv │ └── readme.txt ├── src ├── arch │ ├── null │ │ └── generated │ │ │ └── inc.d │ └── riscv │ │ └── locked_mem.cc ├── mem │ ├── slicc │ │ └── generate │ │ │ └── __init__.py │ └── protocol │ │ ├── Garnet_standalone.slicc │ │ ├── MI_example.slicc │ │ ├── MOESI_hammer.slicc │ │ ├── MOESI_AMD_Base.slicc │ │ ├── RubySlicc_interfaces.slicc │ │ ├── MESI_Two_Level.slicc │ │ ├── MOESI_CMP_token.slicc │ │ ├── MOESI_CMP_directory.slicc │ │ ├── GPU_VIPER.slicc │ │ ├── GPU_VIPER_Baseline.slicc │ │ ├── MESI_Three_Level.slicc │ │ ├── GPU_RfO.slicc │ │ └── GPU_VIPER_Region.slicc ├── cpu │ ├── nocpu │ │ └── SConsopts │ └── trace │ │ └── SConscript ├── dev │ └── mips │ │ └── console ├── doxygen │ ├── images │ │ ├── gem5_MS_Fig1.PNG │ │ ├── gem5_MS_Fig2.PNG │ │ ├── gem5_MS_Fig3.PNG │ │ ├── gem5_MS_Fig4.PNG │ │ ├── gem5_MS_Fig5.PNG │ │ ├── gem5_MS_Fig6.PNG │ │ ├── gem5_MS_Fig7.PNG │ │ ├── gem5_MS_Fig8.PNG │ │ └── gem5_MS_Fig9.PNG │ └── footer.html ├── unittest │ ├── foo.ini │ └── stattestmain.py └── base │ └── CPA.py ├── ext ├── systemc │ └── src │ │ └── sysc │ │ └── qt │ │ ├── md │ │ ├── null.README │ │ ├── axp.Makefile │ │ ├── ksr1.Makefile │ │ ├── default.Makefile │ │ ├── m88k.Makefile │ │ ├── axp.1.Makefile │ │ ├── axp.2.Makefile │ │ ├── i386.README │ │ ├── hppa-cnx.Makefile │ │ ├── hppa.Makefile │ │ ├── axp.README │ │ ├── null.s │ │ ├── solaris.README │ │ ├── null.c │ │ ├── powerpc.README │ │ └── i386_b.s │ │ ├── b.h │ │ ├── qtmd.h │ │ ├── copyright.h │ │ ├── CHANGES │ │ └── time │ │ ├── cswap │ │ ├── README.time │ │ ├── prim │ │ ├── go │ │ ├── init │ │ └── assim ├── pybind11 │ ├── docs │ │ ├── requirements.txt │ │ ├── pybind11-logo.png │ │ ├── pybind11_vs_boost_python1.png │ │ ├── pybind11_vs_boost_python2.png │ │ ├── _static │ │ │ └── theme_overrides.css │ │ ├── advanced │ │ │ └── pycpp │ │ │ │ └── index.rst │ │ ├── Doxyfile │ │ └── index.rst │ ├── .readthedocs.yml │ ├── MANIFEST.in │ ├── pybind11 │ │ ├── _version.py │ │ └── __init__.py │ ├── .gitmodules │ ├── tests │ │ ├── test_eval_call.py │ │ ├── test_cmake_build │ │ │ ├── test.py │ │ │ ├── main.cpp │ │ │ ├── subdirectory_function │ │ │ │ └── CMakeLists.txt │ │ │ ├── installed_function │ │ │ │ └── CMakeLists.txt │ │ │ └── subdirectory_target │ │ │ │ └── CMakeLists.txt │ │ ├── pytest.ini │ │ ├── test_class_args.py │ │ ├── pybind11_tests.h │ │ ├── test_copy_move_policies.py │ │ └── test_eval.py │ ├── setup.cfg │ └── .gitignore ├── fputils │ ├── AUTHORS │ ├── tests │ │ └── Makefile.am │ ├── .gitignore │ ├── Makefile.am │ └── configure.ac ├── ply │ ├── CHANGES │ ├── test │ │ ├── cleanup.sh │ │ ├── lex_module.py │ │ ├── lex_empty.py │ │ ├── lex_token1.py │ │ ├── README │ │ ├── lex_token2.py │ │ ├── lex_error1.py │ │ ├── lex_literal2.py │ │ ├── lex_literal1.py │ │ ├── lex_error2.py │ │ ├── lex_token4.py │ │ ├── lex_doc1.py │ │ ├── lex_re1.py │ │ ├── lex_token3.py │ │ ├── lex_re2.py │ │ ├── lex_rule1.py │ │ ├── lex_error3.py │ │ ├── lex_error4.py │ │ ├── lex_dup1.py │ │ ├── lex_ignore2.py │ │ ├── lex_rule3.py │ │ ├── lex_re3.py │ │ ├── lex_rule2.py │ │ ├── lex_dup3.py │ │ ├── lex_token_dup.py │ │ ├── lex_dup2.py │ │ ├── lex_ignore.py │ │ ├── lex_token5.py │ │ ├── yacc_nested.py │ │ ├── yacc_rr_unused.py │ │ ├── lex_many_tokens.py │ │ ├── lex_state1.py │ │ ├── lex_state2.py │ │ ├── lex_state4.py │ │ ├── lex_state5.py │ │ ├── lex_state_noerror.py │ │ ├── lex_state3.py │ │ ├── lex_state_norule.py │ │ └── lex_state_try.py │ ├── example │ │ ├── BASIC │ │ │ ├── sqrt2.bas │ │ │ ├── hello.bas │ │ │ ├── rand.bas │ │ │ ├── func.bas │ │ │ ├── sqrt1.bas │ │ │ ├── gosub.bas │ │ │ ├── maxsin.bas │ │ │ ├── dim.bas │ │ │ ├── powers.bas │ │ │ ├── gcd.bas │ │ │ ├── sales.bas │ │ │ ├── linear.bas │ │ │ └── sears.bas │ │ ├── cleanup.sh │ │ ├── ansic │ │ │ └── README │ │ ├── optcalc │ │ │ └── README │ │ ├── GardenSnake │ │ │ └── README │ │ └── README │ ├── ply │ │ └── __init__.py │ └── TODO ├── nomali │ └── .gitignore ├── mcpat │ ├── cacti │ │ ├── cacti.i │ │ └── makefile │ └── makefile ├── drampower │ └── test │ │ └── libdrampowertest │ │ └── commands.trace ├── dramsim2 │ └── README ├── iostream3 │ └── TODO ├── sst │ └── Makefile └── dnet │ ├── rand.h │ └── udp.h ├── system ├── alpha │ └── console │ │ └── console.c └── arm │ └── aarch64_bootloader │ └── makefile ├── .hgignore └── .gitignore /configs/boot/null.rcS: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/halt.sh: -------------------------------------------------------------------------------- 1 | m5 exit 2 | -------------------------------------------------------------------------------- /util/tlm/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | -------------------------------------------------------------------------------- /configs/boot/halt.sh: -------------------------------------------------------------------------------- 1 | m5 exit 2 | -------------------------------------------------------------------------------- /src/arch/null/generated/inc.d: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/systemc/.gitignore: -------------------------------------------------------------------------------- 1 | *.o 2 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/null.README: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/mem/slicc/generate/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/null/none/memtest/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ext/pybind11/docs/requirements.txt: -------------------------------------------------------------------------------- 1 | breathe == 4.5.0 2 | -------------------------------------------------------------------------------- /tests/quick/se/51.memcheck/ref/null/none/memcheck/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/alpha/linux/memtest-ruby/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/null/none/memtest-filter/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/ref/null/none/tgen-simple-mem/simerr: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ext/fputils/AUTHORS: -------------------------------------------------------------------------------- 1 | Andreas Sandberg 2 | -------------------------------------------------------------------------------- /src/cpu/nocpu/SConsopts: -------------------------------------------------------------------------------- 1 | 2 | Import('*') 3 | 4 | CpuModel('no') 5 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview-o3-checker/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/x86/linux/pc-switcheroo-full/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64i/minor-timing/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64i/simple-atomic/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64i/simple-timing/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/alpha/linux/tsunami-switcheroo-full/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview-switcheroo-full/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview-switcheroo-o3/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-o3-checker/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-switcheroo-o3/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64i/simple-timing-ruby/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/test.py: -------------------------------------------------------------------------------- 1 | 2 | # Empty to satisfy run.py -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/alpha/linux/memtest-ruby-MOESI_hammer/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/boot/bn-app.rcS: -------------------------------------------------------------------------------- 1 | cd /benchmarks/bn 2 | ./bottleneck-app 3 | m5 exit 4 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-switcheroo-atomic/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-switcheroo-full/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-switcheroo-timing/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/arm/linux/realview-switcheroo-atomic/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/arm/linux/realview-switcheroo-timing/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/alpha/linux/memtest-ruby-MESI_Two_Level/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/alpha/linux/memtest-ruby-MOESI_CMP_token/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/boot/micro_stream.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/simstream 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /ext/ply/CHANGES: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/ext/ply/CHANGES -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/arm/linux/realview64-simple-atomic-checkpoint/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/arm/linux/realview-simple-atomic-checkpoint/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/quick/se/50.memtest/ref/alpha/linux/memtest-ruby-MOESI_CMP_directory/EMPTY: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/boot/micro_streamcopy.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/simstreamcopy 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /ext/ply/test/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | rm -f *~ *.pyc *.pyo *.dif *.out 4 | 5 | -------------------------------------------------------------------------------- /tests/long/fs/80.solaris-boot/ref/sparc/solaris/t1000-simple-atomic/system.t1000.hterm: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /configs/boot/micro_streamscale.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/simstreamscale 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /src/dev/mips/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/dev/mips/console -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/axp.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # GNU CC 4 | # 5 | CC = gcc -D__AXP__ 6 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/sqrt2.bas: -------------------------------------------------------------------------------- 1 | 10 FOR X = 1 TO 100 2 | 20 PRINT X, SQR(X) 3 | 30 NEXT X 4 | 40 END 5 | -------------------------------------------------------------------------------- /ext/ply/example/cleanup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | rm -f */*.pyc */parsetab.py */parser.out */*~ */*.class 3 | -------------------------------------------------------------------------------- /ext/pybind11/.readthedocs.yml: -------------------------------------------------------------------------------- 1 | python: 2 | version: 3 3 | requirements_file: docs/requirements.txt 4 | -------------------------------------------------------------------------------- /ext/pybind11/MANIFEST.in: -------------------------------------------------------------------------------- 1 | include include/pybind11/*.h 2 | include LICENSE README.md CONTRIBUTING.md 3 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/x86/linux/o3-timing/smred.pl2: -------------------------------------------------------------------------------- 1 | 1 0 0 86 26 0 0 2 | 2 0 52 86 78 0 0 3 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/hello.bas: -------------------------------------------------------------------------------- 1 | 5 REM HELLO WORLD PROGAM 2 | 10 PRINT "HELLO WORLD" 3 | 99 END 4 | 5 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/rand.bas: -------------------------------------------------------------------------------- 1 | 10 FOR I = 1 TO 20 2 | 20 PRINT INT(10*RND(0)) 3 | 30 NEXT I 4 | 40 END 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/smred.pl2: -------------------------------------------------------------------------------- 1 | 1 0 0 86 26 0 0 2 | 2 0 52 86 78 0 0 3 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/smred.pl2: -------------------------------------------------------------------------------- 1 | 1 0 0 86 26 0 0 2 | 2 0 52 86 78 0 0 3 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/smred.pl2: -------------------------------------------------------------------------------- 1 | 1 0 0 86 26 0 0 2 | 2 0 52 86 78 0 0 3 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/smred.pl2: -------------------------------------------------------------------------------- 1 | 1 0 0 86 26 0 0 2 | 2 0 52 86 78 0 0 3 | -------------------------------------------------------------------------------- /ext/pybind11/pybind11/_version.py: -------------------------------------------------------------------------------- 1 | version_info = (2, 1, 1) 2 | __version__ = '.'.join(map(str, version_info)) 3 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/ksr1.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # KSR1 configuration. 4 | # 5 | CC = cc -ansi 6 | 7 | -------------------------------------------------------------------------------- /system/alpha/console/console.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/system/alpha/console/console.c -------------------------------------------------------------------------------- /configs/boot/micro_ctx.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_ctx 2 4 8 16 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_memlat8.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd 128 8 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_syscall.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_syscall read 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_memlat2mb.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 2 64 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_memlat8mb.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_8MB 8 64 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /ext/nomali/.gitignore: -------------------------------------------------------------------------------- 1 | /docs 2 | /tests/nomali_test* 3 | !/tests/nomali_test*.* 4 | *~ 5 | *.o 6 | *.d 7 | *.so 8 | *.a 9 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/func.bas: -------------------------------------------------------------------------------- 1 | 10 DEF FDX(X) = 2*X 2 | 20 FOR I = 0 TO 100 3 | 30 PRINT FDX(I) 4 | 40 NEXT I 5 | 50 END 6 | -------------------------------------------------------------------------------- /ext/ply/ply/__init__.py: -------------------------------------------------------------------------------- 1 | # PLY package 2 | # Author: David Beazley (dave@dabeaz.com) 3 | 4 | __all__ = ['lex','yacc'] 5 | -------------------------------------------------------------------------------- /ext/pybind11/docs/pybind11-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/ext/pybind11/docs/pybind11-logo.png -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig1.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig2.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig3.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig4.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig5.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig5.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig6.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig6.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig7.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig7.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig8.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig8.PNG -------------------------------------------------------------------------------- /src/doxygen/images/gem5_MS_Fig9.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/src/doxygen/images/gem5_MS_Fig9.PNG -------------------------------------------------------------------------------- /configs/boot/micro_tlblat.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 20 8192 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_tlblat2.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 2 8192 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /configs/boot/micro_tlblat3.rcS: -------------------------------------------------------------------------------- 1 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd_2MB 20 8192 2 | m5 exit 3 | 4 | -------------------------------------------------------------------------------- /ext/ply/example/ansic/README: -------------------------------------------------------------------------------- 1 | This example is incomplete. Was going to specify an ANSI C parser. 2 | This is part of it. 3 | -------------------------------------------------------------------------------- /src/unittest/foo.ini: -------------------------------------------------------------------------------- 1 | [Foo] 2 | Foo1=89 3 | Foo2=384 4 | 5 | [General] 6 | Test3=89 7 | 8 | [Junk] 9 | Test4+=mia 10 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/sqrt1.bas: -------------------------------------------------------------------------------- 1 | 10 LET X = 0 2 | 20 LET X = X + 1 3 | 30 PRINT X, SQR(X) 4 | 40 IF X < 100 THEN 20 5 | 50 END 6 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/skip: -------------------------------------------------------------------------------- 1 | Skipping for now due to broken atomics in ruby 2 | -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/tgen-simple-mem.trc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/quick/se/70.tgen/tgen-simple-mem.trc -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/arm/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/arm/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/x86/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/x86/linux/hello -------------------------------------------------------------------------------- /ext/pybind11/.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "tools/clang"] 2 | path = tools/clang 3 | url = https://github.com/wjakob/clang-cindex-python3 4 | -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/alpha/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/alpha/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/mips/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/mips/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/power/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/power/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/riscv/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/riscv/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/sparc/linux/hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/sparc/linux/hello -------------------------------------------------------------------------------- /tests/test-progs/hello/bin/x86/linux/hello32: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/hello/bin/x86/linux/hello32 -------------------------------------------------------------------------------- /configs/boot/mutex-test.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks 4 | /sbin/m5 resetstats 5 | ./pthread_mutex_test 4 10000 6 | /sbin/m5 exit 7 | -------------------------------------------------------------------------------- /ext/pybind11/docs/pybind11_vs_boost_python1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/ext/pybind11/docs/pybind11_vs_boost_python1.png -------------------------------------------------------------------------------- /ext/pybind11/docs/pybind11_vs_boost_python2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/ext/pybind11/docs/pybind11_vs_boost_python2.png -------------------------------------------------------------------------------- /configs/boot/micro_memlat.rcS: -------------------------------------------------------------------------------- 1 | m5 checkpoint 1 999999999 2 | /benchmarks/micros/lmbench/bin/alphaev6-linux-gnu/lat_mem_rd 64 3 | m5 exit 4 | 5 | -------------------------------------------------------------------------------- /tests/test-progs/gpu-hello/bin/x86/linux/gpu-hello: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/gpu-hello/bin/x86/linux/gpu-hello -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | -------------------------------------------------------------------------------- /configs/boot/bzip.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/bzip200/ 4 | /sbin/m5 resetstats 5 | /benchmarks/spec/bzip200/bzip2 lgred.graphic 1 6 | /sbin/m5 exit 7 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/default.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # `Normal' configuration. 4 | # 5 | CC = gcc -ansi -Wall -pedantic 6 | 7 | .o.s: 8 | as -o $@ $< 9 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_eval_call.py: -------------------------------------------------------------------------------- 1 | # This file is called from 'test_eval.py' 2 | 3 | if 'call_test2' in locals(): 4 | call_test2(y) # noqa: F821 undefined name 5 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/m88k.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Hosted compilers for 88k for Meerkat. 4 | # 5 | CC = gcc88 -Dm88k -ansi -pedantic -Wall -fno-builtin 6 | AS = as88 7 | -------------------------------------------------------------------------------- /tests/test-progs/gpu-hello/bin/x86/linux/gpu-hello-kernel.asm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gem5-gpu/gem5/HEAD/tests/test-progs/gpu-hello/bin/x86/linux/gpu-hello-kernel.asm -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/axp.1.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Compiling for the DEC AXP (alpha) with GNU CC or version 1.x of OSF. 4 | # 5 | CC = cc -std1 -D__AXP__ -D__OSF1__ 6 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/axp.2.Makefile: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Compiling for the DEC AXP (alpha) with GNU CC or version 2.x of OSF. 4 | # 5 | CC = cc -std1 -D__AXP__ -D__OSF2__ 6 | -------------------------------------------------------------------------------- /configs/boot/ls.rcS: -------------------------------------------------------------------------------- 1 | ls 2 | ls 3 | ls 4 | ls 5 | cd bin 6 | ls 7 | ls 8 | ls 9 | ls 10 | ls 11 | ls 12 | ls 13 | ls 14 | cd ../benchmarks 15 | ls 16 | ls 17 | ls 18 | ls 19 | -------------------------------------------------------------------------------- /util/cpt_upgraders/multiple-event-queues.py: -------------------------------------------------------------------------------- 1 | # Add support for multiple event queues 2 | def upgrader(cpt): 3 | cpt.set('Globals', 'numMainEventQueues', '1') 4 | 5 | legacy_version = 12 6 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_cmake_build/test.py: -------------------------------------------------------------------------------- 1 | import sys 2 | import test_cmake_build 3 | 4 | assert test_cmake_build.add(1, 2) == 3 5 | print("{} imports, runs, and adds: 1 + 2 = 3".format(sys.argv[1])) 6 | -------------------------------------------------------------------------------- /ext/mcpat/cacti/cacti.i: -------------------------------------------------------------------------------- 1 | %module cacti 2 | %{ 3 | /* Includes the header in the wrapper code */ 4 | #include "cacti_interface.h" 5 | %} 6 | 7 | /* Parse the header file to generate wrappers */ 8 | %include "cacti_interface.h" -------------------------------------------------------------------------------- /src/arch/riscv/locked_mem.cc: -------------------------------------------------------------------------------- 1 | #include "arch/riscv/locked_mem.hh" 2 | 3 | #include 4 | 5 | #include "base/types.hh" 6 | 7 | namespace RiscvISA 8 | { 9 | 10 | std::stack locked_addrs; 11 | 12 | } 13 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/alpha/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/alpha/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/mips/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/mips/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | -------------------------------------------------------------------------------- /src/mem/protocol/Garnet_standalone.slicc: -------------------------------------------------------------------------------- 1 | protocol "Garnet_standalone"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "Garnet_standalone-msg.sm"; 4 | include "Garnet_standalone-cache.sm"; 5 | include "Garnet_standalone-dir.sm"; 6 | -------------------------------------------------------------------------------- /src/mem/protocol/MI_example.slicc: -------------------------------------------------------------------------------- 1 | protocol "MI_example"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MI_example-msg.sm"; 4 | include "MI_example-cache.sm"; 5 | include "MI_example-dir.sm"; 6 | include "MI_example-dma.sm"; 7 | -------------------------------------------------------------------------------- /src/doxygen/footer.html: -------------------------------------------------------------------------------- 1 |
2 | Generated on $datetime for $projectname by doxygen $doxygenversion
3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/mem/protocol/MOESI_hammer.slicc: -------------------------------------------------------------------------------- 1 | protocol "MOESI_hammer"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_hammer-msg.sm"; 4 | include "MOESI_hammer-cache.sm"; 5 | include "MOESI_hammer-dir.sm"; 6 | include "MOESI_hammer-dma.sm"; 7 | -------------------------------------------------------------------------------- /ext/pybind11/tests/pytest.ini: -------------------------------------------------------------------------------- 1 | [pytest] 2 | minversion = 3.0 3 | addopts = 4 | # show summary of skipped tests 5 | -rs 6 | # capture only Python print and C++ py::print, but not C output (low-level Python errors) 7 | --capture=sys 8 | -------------------------------------------------------------------------------- /configs/boot/gcc.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/gcc00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | ./cc1 mdred.rtlanal.i 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /configs/boot/gzip.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/gzip00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | ./gzip lgred.log 1 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /ext/ply/test/lex_module.py: -------------------------------------------------------------------------------- 1 | # lex_module.py 2 | # 3 | 4 | import sys 5 | if ".." not in sys.path: sys.path.insert(0,"..") 6 | 7 | import ply.lex as lex 8 | import lex_module_import 9 | lex.lex(module=lex_module_import) 10 | lex.runmain(data="3+4") 11 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | For more information see: http://www.m5sim.org/warn/d946bea6 3 | hack: be nice to actually delete the event here 4 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/test.py: -------------------------------------------------------------------------------- 1 | process = Process(executable = binpath('m5threads', 'test_atomic'), 2 | cmd = ['test_atomic', str(nb_cores)]) 3 | 4 | for i in range(nb_cores): 5 | root.system.cpu[i].workload = process 6 | -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/traffic.cfg: -------------------------------------------------------------------------------- 1 | STATE 0 10000 RANDOM 100 0 134217727 256 1000 1000 0 2 | STATE 1 1000000 TRACE tests/quick/se/70.tgen/tgen-simple-mem.trc 100 3 | STATE 2 1000 IDLE 4 | INIT 0 5 | TRANSITION 0 1 1 6 | TRANSITION 1 2 1 7 | TRANSITION 2 0 1 8 | -------------------------------------------------------------------------------- /configs/boot/ammp.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/ammp00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | ./ammp < input/mdred.in 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /configs/boot/devtime.rcS: -------------------------------------------------------------------------------- 1 | insmod /modules/devtime.ko dataAddr=0x9000008 count=100 2 | rmmod devtime 3 | insmod /modules/devtime.ko dataAddr=0x1a0000300 count=100 4 | rmmod devtime 5 | insmod /modules/devtime.ko memTest=1 count=100 6 | rmmod devtime 7 | m5 exit 8 | 9 | -------------------------------------------------------------------------------- /src/mem/protocol/MOESI_AMD_Base.slicc: -------------------------------------------------------------------------------- 1 | protocol "MOESI_AMD_Base"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_AMD_Base-msg.sm"; 4 | include "MOESI_AMD_Base-CorePair.sm"; 5 | include "MOESI_AMD_Base-L3cache.sm"; 6 | include "MOESI_AMD_Base-dir.sm"; 7 | -------------------------------------------------------------------------------- /src/mem/protocol/RubySlicc_interfaces.slicc: -------------------------------------------------------------------------------- 1 | include "RubySlicc_Exports.sm"; 2 | include "RubySlicc_Types.sm"; 3 | include "RubySlicc_Util.sm"; 4 | include "RubySlicc_ComponentMapping.sm"; 5 | include "RubySlicc_Defines.sm"; 6 | include "RubySlicc_MemControl.sm"; 7 | -------------------------------------------------------------------------------- /ext/ply/example/optcalc/README: -------------------------------------------------------------------------------- 1 | An example showing how to use Python optimized mode. 2 | To run: 3 | 4 | - First run 'python calc.py' 5 | 6 | - Then run 'python -OO calc.py' 7 | 8 | If working correctly, the second version should run the 9 | same way. 10 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/i386.README: -------------------------------------------------------------------------------- 1 | Note that some machines want labels to have leading underscores, 2 | while others (e.g. System V) do not. Thus, several labels appear 3 | duplicated except for the leading underscore, e.g. 4 | 5 | _qt_cswap: 6 | qt_cswap: 7 | 8 | -------------------------------------------------------------------------------- /configs/boot/mcf.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/mcf00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | /benchmarks/spec/mcf00/mcf mdred.in 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_class_args.py: -------------------------------------------------------------------------------- 1 | 2 | 3 | def test_class_args(): 4 | """There's basically nothing to test here; just make sure the code compiled 5 | and declared its definition 6 | """ 7 | from pybind11_tests import class_args_noop 8 | class_args_noop() 9 | -------------------------------------------------------------------------------- /tests/long/se/10.mcf/ref/x86/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/long/se/10.mcf/ref/sparc/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/power/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/sparc/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/sparc/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/x86/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/x86/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/10.mcf/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/10.mcf/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/10.mcf/ref/sparc/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/10.mcf/ref/x86/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /configs/boot/equake.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/equake00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | /benchmarks/spec/equake00/equake < lgred.in 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64a/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64a/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64d/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64d/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64f/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64f/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64m/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64m/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Unknown operating system; assuming Linux. 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/sparc/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/sparc/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | build 3 | parser.out 4 | parsetab.py 5 | cscope.files 6 | cscope.out 7 | *.pyc 8 | *~ 9 | .*.swp 10 | m5out 11 | src/doxygen 12 | ext/dramsim2/DRAMSim2 13 | ext/mcpat/regression/*/*.out 14 | util/m5/*.o 15 | util/m5/*.a 16 | util/m5/m5 17 | system/arm/dt/*.dtb 18 | -------------------------------------------------------------------------------- /configs/boot/mesa.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /benchmarks/spec/mesa00/ 4 | 5 | /sbin/m5 checkpoint 0 0 6 | /sbin/m5 checkpoint 100000000 200000000 7 | 8 | /sbin/m5 loadsymbol 9 | 10 | /sbin/m5 resetstats 11 | /benchmarks/spec/mesa00/mesa -frames 1 -meshfile lgred.in 12 | /sbin/m5 exit 13 | -------------------------------------------------------------------------------- /ext/ply/example/GardenSnake/README: -------------------------------------------------------------------------------- 1 | This example is Andrew Dalke's GardenSnake language. It shows how to process an 2 | indentation-like language like Python. Further details can be found here: 3 | 4 | http://dalkescientific.com/writings/diary/archive/2006/08/30/gardensnake_language.html 5 | 6 | -------------------------------------------------------------------------------- /src/mem/protocol/MESI_Two_Level.slicc: -------------------------------------------------------------------------------- 1 | protocol "MESI_Two_Level"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MESI_Two_Level-msg.sm"; 4 | include "MESI_Two_Level-L1cache.sm"; 5 | include "MESI_Two_Level-L2cache.sm"; 6 | include "MESI_Two_Level-dir.sm"; 7 | include "MESI_Two_Level-dma.sm"; 8 | -------------------------------------------------------------------------------- /configs/boot/bonnie.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # /etc/init.d/rcS 4 | # 5 | 6 | echo -n "Mounting empty disk..." 7 | mkdir /tmp-space 8 | /bin/mount /dev/hdb1 /tmp-space 9 | chmod a+rwx /tmp-space 10 | echo "done." 11 | 12 | /bin/bonnie++ -u 99 -s 700 -r 0 -n 0 -f -F -d /tmp-space 13 | m5 exit 14 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_cmake_build/main.cpp: -------------------------------------------------------------------------------- 1 | #include 2 | namespace py = pybind11; 3 | 4 | PYBIND11_PLUGIN(test_cmake_build) { 5 | py::module m("test_cmake_build"); 6 | 7 | m.def("add", [](int i, int j) { return i + j; }); 8 | 9 | return m.ptr(); 10 | } 11 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/gosub.bas: -------------------------------------------------------------------------------- 1 | 100 LET X = 3 2 | 110 GOSUB 400 3 | 120 PRINT U, V, W 4 | 200 LET X = 5 5 | 210 GOSUB 400 6 | 220 LET Z = U + 2*V + 3*W 7 | 230 PRINT Z 8 | 240 GOTO 999 9 | 400 LET U = X*X 10 | 410 LET V = X*X*X 11 | 420 LET W = X*X*X*X + X*X*X + X*X + X 12 | 430 RETURN 13 | 999 END 14 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/maxsin.bas: -------------------------------------------------------------------------------- 1 | 5 PRINT "X VALUE", "SINE", "RESOLUTION" 2 | 10 READ D 3 | 20 LET M = -1 4 | 30 FOR X = 0 TO 3 STEP D 5 | 40 IF SIN(X) <= M THEN 80 6 | 50 LET X0 = X 7 | 60 LET M = SIN(X) 8 | 80 NEXT X 9 | 85 PRINT X0, M, D 10 | 90 GOTO 10 11 | 100 DATA .1, .01, .001 12 | 110 END 13 | -------------------------------------------------------------------------------- /ext/pybind11/setup.cfg: -------------------------------------------------------------------------------- 1 | [bdist_wheel] 2 | universal=1 3 | 4 | [flake8] 5 | max-line-length = 99 6 | show_source = True 7 | exclude = .git, __pycache__, build, dist, docs, tools, venv 8 | ignore = 9 | # required for pretty matrix formating: multiple spaces after `,` and `[` 10 | E201, E241 11 | -------------------------------------------------------------------------------- /src/mem/protocol/MOESI_CMP_token.slicc: -------------------------------------------------------------------------------- 1 | protocol "MOESI_CMP_token"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_CMP_token-msg.sm"; 4 | include "MOESI_CMP_token-L1cache.sm"; 5 | include "MOESI_CMP_token-L2cache.sm"; 6 | include "MOESI_CMP_token-dir.sm"; 7 | include "MOESI_CMP_token-dma.sm"; 8 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/x86/linux/o3-timing/smred.sav: -------------------------------------------------------------------------------- 1 | 0.009592 2 | 121 3 | 0 4 | 1 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 37 13 10 | 2 2 0 34 65 11 | 3 2 2 63 65 12 | 4 1 0 59 13 13 | 5 1 2 32 13 14 | 6 2 0 23 65 15 | 7 1 2 12 13 16 | 8 2 0 6 65 17 | 9 1 0 70 13 18 | 10 2 0 70 65 19 | -------------------------------------------------------------------------------- /ext/ply/test/lex_empty.py: -------------------------------------------------------------------------------- 1 | # lex_empty.py 2 | # 3 | # No rules defined 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | 17 | 18 | lex.lex() 19 | 20 | 21 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/smred.sav: -------------------------------------------------------------------------------- 1 | 0.009592 2 | 121 3 | 0 4 | 1 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 37 13 10 | 2 2 0 34 65 11 | 3 2 2 63 65 12 | 4 1 0 59 13 13 | 5 1 2 32 13 14 | 6 2 0 23 65 15 | 7 1 2 12 13 16 | 8 2 0 6 65 17 | 9 1 0 70 13 18 | 10 2 0 70 65 19 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/smred.sav: -------------------------------------------------------------------------------- 1 | 0.009592 2 | 121 3 | 0 4 | 1 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 37 13 10 | 2 2 0 34 65 11 | 3 2 2 63 65 12 | 4 1 0 59 13 13 | 5 1 2 32 13 14 | 6 2 0 23 65 15 | 7 1 2 12 13 16 | 8 2 0 6 65 17 | 9 1 0 70 13 18 | 10 2 0 70 65 19 | -------------------------------------------------------------------------------- /tests/long/se/10.mcf/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/mips/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/smred.sav: -------------------------------------------------------------------------------- 1 | 0.009592 2 | 121 3 | 0 4 | 1 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 37 13 10 | 2 2 0 34 65 11 | 3 2 2 63 65 12 | 4 1 0 59 13 13 | 5 1 2 32 13 14 | 6 2 0 23 65 15 | 7 1 2 12 13 16 | 8 2 0 6 65 17 | 9 1 0 70 13 18 | 10 2 0 70 65 19 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/smred.sav: -------------------------------------------------------------------------------- 1 | 0.009592 2 | 121 3 | 0 4 | 1 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 37 13 10 | 2 2 0 34 65 11 | 3 2 2 63 65 12 | 4 1 0 59 13 13 | 5 1 2 32 13 14 | 6 2 0 23 65 15 | 7 1 2 12 13 16 | 8 2 0 6 65 17 | 9 1 0 70 13 18 | 10 2 0 70 65 19 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/dim.bas: -------------------------------------------------------------------------------- 1 | 5 DIM A(50,15) 2 | 10 FOR I = 1 TO 50 3 | 20 FOR J = 1 TO 15 4 | 30 LET A(I,J) = I + J 5 | 35 REM PRINT I,J, A(I,J) 6 | 40 NEXT J 7 | 50 NEXT I 8 | 100 FOR I = 1 TO 50 9 | 110 FOR J = 1 TO 15 10 | 120 PRINT A(I,J), 11 | 130 NEXT J 12 | 140 PRINT 13 | 150 NEXT I 14 | 999 END 15 | -------------------------------------------------------------------------------- /tests/long/se/50.vortex/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/x86/linux/o3-timing/smred.sv2: -------------------------------------------------------------------------------- 1 | 0.001000 2 | 123 3 | 0 4 | 2 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 16 13 10 | 2 2 2 19 65 11 | 3 2 2 14 65 12 | 4 1 0 11 13 13 | 5 1 2 6 13 14 | 6 2 0 3 65 15 | 7 1 0 2 13 16 | 8 2 2 9 65 17 | 9 1 0 50 13 18 | 10 2 0 54 65 19 | 11 1 0 84 13 20 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/alpha/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/alpha/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /src/base/CPA.py: -------------------------------------------------------------------------------- 1 | from m5.SimObject import SimObject 2 | from m5.params import * 3 | 4 | class CPA(SimObject): 5 | type = 'CPA' 6 | cxx_header = "base/cp_annotate.hh" 7 | 8 | enabled = Param.Bool(False, "Is Annotation enabled?") 9 | user_apps = VectorParam.String([], "List of apps to get symbols for") 10 | -------------------------------------------------------------------------------- /tests/quick/se/50.vortex/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/50.vortex/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/smred.sv2: -------------------------------------------------------------------------------- 1 | 0.001000 2 | 123 3 | 0 4 | 2 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 16 13 10 | 2 2 2 19 65 11 | 3 2 2 14 65 12 | 4 1 0 11 13 13 | 5 1 2 6 13 14 | 6 2 0 3 65 15 | 7 1 0 2 13 16 | 8 2 2 9 65 17 | 9 1 0 50 13 18 | 10 2 0 54 65 19 | 11 1 0 84 13 20 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/smred.sv2: -------------------------------------------------------------------------------- 1 | 0.001000 2 | 123 3 | 0 4 | 2 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 16 13 10 | 2 2 2 19 65 11 | 3 2 2 14 65 12 | 4 1 0 11 13 13 | 5 1 2 6 13 14 | 6 2 0 3 65 15 | 7 1 0 2 13 16 | 8 2 2 9 65 17 | 9 1 0 50 13 18 | 10 2 0 54 65 19 | 11 1 0 84 13 20 | -------------------------------------------------------------------------------- /ext/drampower/test/libdrampowertest/commands.trace: -------------------------------------------------------------------------------- 1 | 35,ACT,0 2 | 50,RDA,0 3 | 51,ACT,4 4 | 66,RDA,4 5 | 86,ACT,0 6 | 101,RDA,0 7 | 102,ACT,2 8 | 117,RDA,2 9 | 119,ACT,5 10 | 134,RDA,5 11 | 137,ACT,0 12 | 152,RDA,0 13 | 159,ACT,3 14 | 174,RDA,3 15 | 195,ACT,0 16 | 210,RDA,0 17 | 232,ACT,4 18 | 247,WRA,4 19 | 248,PDN_F_ACT,3 20 | -------------------------------------------------------------------------------- /src/mem/protocol/MOESI_CMP_directory.slicc: -------------------------------------------------------------------------------- 1 | protocol "MOESI_CMP_directory"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_CMP_directory-msg.sm"; 4 | include "MOESI_CMP_directory-L1cache.sm"; 5 | include "MOESI_CMP_directory-L2cache.sm"; 6 | include "MOESI_CMP_directory-dma.sm"; 7 | include "MOESI_CMP_directory-dir.sm"; 8 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/smred.sv2: -------------------------------------------------------------------------------- 1 | 0.001000 2 | 123 3 | 0 4 | 2 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 16 13 10 | 2 2 2 19 65 11 | 3 2 2 14 65 12 | 4 1 0 11 13 13 | 5 1 2 6 13 14 | 6 2 0 3 65 15 | 7 1 0 2 13 16 | 8 2 2 9 65 17 | 9 1 0 50 13 18 | 10 2 0 54 65 19 | 11 1 0 84 13 20 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/smred.sv2: -------------------------------------------------------------------------------- 1 | 0.001000 2 | 123 3 | 0 4 | 2 5 | 0.000000 6 | 0.500000 7 | 3.906156 8 | 1 9 | 1 1 2 16 13 10 | 2 2 2 19 65 11 | 3 2 2 14 65 12 | 4 1 0 11 13 13 | 5 1 2 6 13 14 | 6 2 0 3 65 15 | 7 1 0 2 13 16 | 8 2 2 9 65 17 | 9 1 0 50 13 18 | 10 2 0 54 65 19 | 11 1 0 84 13 20 | -------------------------------------------------------------------------------- /ext/pybind11/tests/pybind11_tests.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | #include 3 | #include 4 | #include 5 | 6 | namespace py = pybind11; 7 | using namespace pybind11::literals; 8 | 9 | class test_initializer { 10 | public: 11 | test_initializer(std::function initializer); 12 | }; 13 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/alpha/linux/learning-gem5-p1-simple/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/mips/linux/learning-gem5-p1-simple/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/mips/linux/learning-gem5-p1-two-level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token1.py: -------------------------------------------------------------------------------- 1 | # lex_token1.py 2 | # 3 | # Tests for absence of tokens variable 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | t_PLUS = r'\+' 11 | t_MINUS = r'-' 12 | t_NUMBER = r'\d+' 13 | 14 | def t_error(t): 15 | pass 16 | 17 | lex.lex() 18 | 19 | 20 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/alpha/linux/learning-gem5-p1-two-level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | -------------------------------------------------------------------------------- /util/cpt_upgraders/ide-dma-abort.py: -------------------------------------------------------------------------------- 1 | # Update IDE disk devices with dmaAborted flag 2 | def upgrader(cpt): 3 | for sec in cpt.sections(): 4 | # curSector only exists in IDE devices, so key on that attribute 5 | if cpt.has_option(sec, "curSector"): 6 | cpt.set(sec, "dmaAborted", "false") 7 | 8 | legacy_version = 7 9 | -------------------------------------------------------------------------------- /ext/pybind11/docs/_static/theme_overrides.css: -------------------------------------------------------------------------------- 1 | .wy-table-responsive table td, 2 | .wy-table-responsive table th { 3 | white-space: initial !important; 4 | } 5 | .rst-content table.docutils td { 6 | vertical-align: top !important; 7 | } 8 | div[class^='highlight'] pre { 9 | white-space: pre; 10 | white-space: pre-wrap; 11 | } 12 | -------------------------------------------------------------------------------- /src/cpu/trace/SConscript: -------------------------------------------------------------------------------- 1 | Import('*') 2 | 3 | if env['TARGET_ISA'] == 'null': 4 | Return() 5 | 6 | # Only build TraceCPU if we have support for protobuf as TraceCPU relies on it 7 | if env['HAVE_PROTOBUF']: 8 | SimObject('TraceCPU.py') 9 | Source('trace_cpu.cc') 10 | 11 | DebugFlag('TraceCPUData') 12 | DebugFlag('TraceCPUInst') 13 | -------------------------------------------------------------------------------- /src/mem/protocol/GPU_VIPER.slicc: -------------------------------------------------------------------------------- 1 | protocol "GPU_VIPER"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_AMD_Base-msg.sm"; 4 | include "MOESI_AMD_Base-dir.sm"; 5 | include "MOESI_AMD_Base-CorePair.sm"; 6 | include "GPU_VIPER-TCP.sm"; 7 | include "GPU_VIPER-SQC.sm"; 8 | include "GPU_VIPER-TCC.sm"; 9 | include "MOESI_AMD_Base-L3cache.sm"; 10 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/powers.bas: -------------------------------------------------------------------------------- 1 | 5 PRINT "THIS PROGRAM COMPUTES AND PRINTS THE NTH POWERS" 2 | 6 PRINT "OF THE NUMBERS LESS THAN OR EQUAL TO N FOR VARIOUS" 3 | 7 PRINT "N FROM 1 THROUGH 7" 4 | 8 PRINT 5 | 10 FOR N = 1 TO 7 6 | 15 PRINT "N = "N 7 | 20 FOR I = 1 TO N 8 | 30 PRINT I^N, 9 | 40 NEXT I 10 | 50 PRINT 11 | 60 PRINT 12 | 70 NEXT N 13 | 80 END 14 | -------------------------------------------------------------------------------- /ext/ply/test/README: -------------------------------------------------------------------------------- 1 | This directory mostly contains tests for various types of error 2 | conditions. To run: 3 | 4 | $ python testlex.py . 5 | $ python testyacc.py . 6 | 7 | The tests can also be run using the Python unittest module. 8 | 9 | $ python rununit.py 10 | 11 | The script 'cleanup.sh' cleans up this directory to its original state. 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | parser.out 3 | parsetab.py 4 | cscope.files 5 | cscope.out 6 | *.pyc 7 | *~ 8 | .*.swp 9 | m5out 10 | /src/doxygen 11 | /ext/dramsim2/DRAMSim2 12 | /ext/mcpat/regression/*/*.out 13 | /util/m5/*.o 14 | /util/m5/*.a 15 | /util/m5/m5 16 | /util/tap/*.d 17 | /util/tap/*.o 18 | /util/tap/m5tap 19 | /util/term/m5term 20 | /system/arm/dt/*.dtb 21 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/b.h: -------------------------------------------------------------------------------- 1 | #ifndef B_H 2 | #define B_H "$Header: /Users/acg/CVSROOT/systemc-2.3/src/sysc/qt/b.h,v 1.1.1.1 2006/12/15 20:20:06 acg Exp $" 3 | 4 | #include "copyright.h" 5 | 6 | extern void b_call_reg (int n); 7 | extern void b_call_imm (int n); 8 | extern void b_add (int n); 9 | extern void b_load (int n); 10 | 11 | #endif /* ndef B_H */ 12 | -------------------------------------------------------------------------------- /tests/long/se/40.perlbmk/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: fcntl64(3, 2) passed through to host 5 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /src/mem/protocol/GPU_VIPER_Baseline.slicc: -------------------------------------------------------------------------------- 1 | protocol "GPU_VIPER"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_AMD_Base-msg.sm"; 4 | include "MOESI_AMD_Base-probeFilter.sm"; 5 | include "MOESI_AMD_Base-CorePair.sm"; 6 | include "GPU_VIPER-TCP.sm"; 7 | include "GPU_VIPER-SQC.sm"; 8 | include "GPU_VIPER-TCC.sm"; 9 | include "MOESI_AMD_Base-L3cache.sm"; 10 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/x86/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /configs/boot/art.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | #/benchmarks/spec/art00/art -scanfile c756hel.in -trainfile1 a10.img -stride 2 -startx 134 -starty 220 -endx 184 -endy 240 -objects 3 4 | cd /benchmarks/spec/art00/ 5 | /sbin/m5 resetstats 6 | /benchmarks/spec/art00/art -scanfile c756hel.in -trainfile1 a10.img -stride 5 -startx 134 -starty 220 -endx 184 -endy 240 -objects 1 7 | /sbin/m5 exit 8 | -------------------------------------------------------------------------------- /ext/ply/example/README: -------------------------------------------------------------------------------- 1 | Simple examples: 2 | calc - Simple calculator 3 | classcalc - Simple calculate defined as a class 4 | 5 | Complex examples 6 | ansic - ANSI C grammar from K&R 7 | BASIC - A small BASIC interpreter 8 | GardenSnake - A simple python-like language 9 | yply - Converts Unix yacc files to PLY programs. 10 | 11 | -------------------------------------------------------------------------------- /ext/pybind11/docs/advanced/pycpp/index.rst: -------------------------------------------------------------------------------- 1 | Python C++ interface 2 | #################### 3 | 4 | pybind11 exposes Python types and functions using thin C++ wrappers, which 5 | makes it possible to conveniently call Python code from C++ without resorting 6 | to Python's C API. 7 | 8 | .. toctree:: 9 | :maxdepth: 2 10 | 11 | object 12 | numpy 13 | utilities 14 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: CP14 unimplemented crn[8], opc1[2], crm[9], opc2[4] 5 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: CP14 unimplemented crn[8], opc1[2], crm[9], opc2[4] 5 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/power/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64a/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64d/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64f/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64f/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64m/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64m/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Unknown operating system; assuming Linux. 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/sparc/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token2.py: -------------------------------------------------------------------------------- 1 | # lex_token2.py 2 | # 3 | # Tests for tokens of wrong type 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = "PLUS MINUS NUMBER" 11 | 12 | t_PLUS = r'\+' 13 | t_MINUS = r'-' 14 | t_NUMBER = r'\d+' 15 | 16 | def t_error(t): 17 | pass 18 | 19 | 20 | lex.lex() 21 | 22 | 23 | -------------------------------------------------------------------------------- /ext/ply/test/lex_error1.py: -------------------------------------------------------------------------------- 1 | # lex_error1.py 2 | # 3 | # Missing t_error() rule 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | 21 | 22 | lex.lex() 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/mem/protocol/MESI_Three_Level.slicc: -------------------------------------------------------------------------------- 1 | protocol "MESI_Three_Level"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MESI_Two_Level-msg.sm"; 4 | include "MESI_Three_Level-msg.sm"; 5 | include "MESI_Three_Level-L0cache.sm"; 6 | include "MESI_Three_Level-L1cache.sm"; 7 | include "MESI_Two_Level-L2cache.sm"; 8 | include "MESI_Two_Level-dir.sm"; 9 | include "MESI_Two_Level-dma.sm"; 10 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/arm/linux/learning-gem5-p1-simple/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/arm/linux/learning-gem5-p1-two-level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/sparc/linux/learning-gem5-p1-simple/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/x86/linux/learning-gem5-p1-simple/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/x86/linux/learning-gem5-p1-two-level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/simple-atomic-dummychecker/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /tests/quick/se/03.learning-gem5/ref/sparc/linux/learning-gem5-p1-two-level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | -------------------------------------------------------------------------------- /ext/dramsim2/README: -------------------------------------------------------------------------------- 1 | Follow these steps to get DRAMSim2 as part of gem5 2 | 3 | 1. Download DRAMSim2 4 | 1.1 Go to ext/dramsim2 (this directory) 5 | 1.2 Clone DRAMSim2: git clone git://github.com/dramninjasUMD/DRAMSim2.git 6 | 7 | 2. Compile gem5 8 | 2.1 Business as usual 9 | 10 | 3. Run gem5 with DRAMSim2 11 | 3.1 Use --mem-type=dramsim2 and set the device and system configuration 12 | -------------------------------------------------------------------------------- /ext/ply/test/lex_literal2.py: -------------------------------------------------------------------------------- 1 | # lex_literal2.py 2 | # 3 | # Bad literal specification 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "NUMBER", 12 | ] 13 | 14 | literals = 23 15 | 16 | def t_NUMBER(t): 17 | r'\d+' 18 | return t 19 | 20 | def t_error(t): 21 | pass 22 | 23 | lex.lex() 24 | 25 | 26 | -------------------------------------------------------------------------------- /ext/fputils/tests/Makefile.am: -------------------------------------------------------------------------------- 1 | 2 | TEST_LOG_DRIVER = env AM_TAP_AWK='$(AWK)' $(SHELL) \ 3 | $(top_srcdir)/tap-driver.sh 4 | 5 | LIBS=-lm $(top_builddir)/.libs/libfputils.la libtest.a 6 | 7 | FP80_TESTS=fp80_cvtd fp80_cvfd fp80_cvtf 8 | TESTS=$(FP80_TESTS) 9 | 10 | check_LIBRARIES=libtest.a 11 | check_PROGRAMS=$(FP80_TESTS) 12 | 13 | libtest_a_SOURCES=test_helper.c test_helper.h 14 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/x86/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/x86/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/x86/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/x86/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | info: Increasing stack size by one page. 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /util/cpt_upgraders/cpu-pid.py: -------------------------------------------------------------------------------- 1 | def upgrader(cpt): 2 | for sec in cpt.sections(): 3 | import re 4 | # Search for a CPUs 5 | if re.search('.*sys.*cpu', sec): 6 | try: 7 | junk = cpt.get(sec, 'instCnt') 8 | cpt.set(sec, '_pid', '0') 9 | except ConfigParser.NoOptionError: 10 | pass 11 | 12 | legacy_version = 3 13 | -------------------------------------------------------------------------------- /ext/ply/test/lex_literal1.py: -------------------------------------------------------------------------------- 1 | # lex_literal1.py 2 | # 3 | # Bad literal specification 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "NUMBER", 12 | ] 13 | 14 | literals = ["+","-","**"] 15 | 16 | def t_NUMBER(t): 17 | r'\d+' 18 | return t 19 | 20 | def t_error(t): 21 | pass 22 | 23 | lex.lex() 24 | 25 | 26 | -------------------------------------------------------------------------------- /ext/pybind11/pybind11/__init__.py: -------------------------------------------------------------------------------- 1 | from ._version import version_info, __version__ # noqa: F401 imported but unused 2 | 3 | 4 | def get_include(*args, **kwargs): 5 | import os 6 | try: 7 | from pip import locations 8 | return os.path.dirname( 9 | locations.distutils_scheme('pybind11', *args, **kwargs)['headers']) 10 | except ImportError: 11 | return 'include' 12 | -------------------------------------------------------------------------------- /system/arm/aarch64_bootloader/makefile: -------------------------------------------------------------------------------- 1 | build: 2 | aarch64-linux-gnu-gcc -c -DPHYS_OFFSET=0x80000000 -DCNTFRQ=0x01800000 -DUART_BASE=0x1c090000 -DSYSREGS_BASE=0x1c010000 -DGIC_DIST_BASE=0x2c001000 -DGIC_CPU_BASE=0x2c002000 -Dkernel=0x80080000 -Dmbox=0x8000fff8 -Ddtb=0x80000100 -o boot_emm.o -march=armv8-a boot.S 3 | aarch64-linux-gnu-ld -o boot_emm.arm64 -N -Ttext 0x00000010 boot_emm.o -non_shared -static 4 | rm boot_emm.o -------------------------------------------------------------------------------- /tests/long/se/40.perlbmk/ref/arm/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | warn: fcntl64(3, 2) passed through to host 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/40.perlbmk/ref/arm/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | warn: fcntl64(3, 2) passed through to host 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/long/se/50.vortex/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | info: Increasing stack size by one page. 6 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting terminal connections 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: Prefetch instructions in Alpha do not do anything 5 | warn: Prefetch instructions in Alpha do not do anything 6 | -------------------------------------------------------------------------------- /util/cpt_upgraders/ruby-block-size-bytes.py: -------------------------------------------------------------------------------- 1 | # Add block_size_bytes to system.ruby 2 | def upgrader(cpt): 3 | for sec in cpt.sections(): 4 | if sec == 'system.ruby': 5 | # Use Gem5's default of 64; this should be changed if the to be 6 | # upgraded checkpoints were not taken with block-size 64! 7 | cpt.set(sec, 'block_size_bytes', '64') 8 | 9 | legacy_version = 10 10 | -------------------------------------------------------------------------------- /ext/ply/test/lex_error2.py: -------------------------------------------------------------------------------- 1 | # lex_error2.py 2 | # 3 | # t_error defined, but not function 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | t_error = "foo" 21 | 22 | 23 | 24 | lex.lex() 25 | 26 | 27 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token4.py: -------------------------------------------------------------------------------- 1 | # lex_token4.py 2 | # 3 | # Bad token name 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "-", 14 | "NUMBER", 15 | ] 16 | 17 | t_PLUS = r'\+' 18 | t_MINUS = r'-' 19 | t_NUMBER = r'\d+' 20 | 21 | def t_error(t): 22 | pass 23 | 24 | lex.lex() 25 | 26 | 27 | -------------------------------------------------------------------------------- /ext/ply/test/lex_doc1.py: -------------------------------------------------------------------------------- 1 | # lex_doc1.py 2 | # 3 | # Missing documentation string 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | def t_NUMBER(t): 19 | pass 20 | 21 | def t_error(t): 22 | pass 23 | 24 | lex.lex() 25 | 26 | 27 | -------------------------------------------------------------------------------- /ext/ply/test/lex_re1.py: -------------------------------------------------------------------------------- 1 | # lex_re1.py 2 | # 3 | # Bad regular expression in a string 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'(\d+' 19 | 20 | def t_error(t): 21 | pass 22 | 23 | 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token3.py: -------------------------------------------------------------------------------- 1 | # lex_token3.py 2 | # 3 | # tokens is right type, but is missing a token for one rule 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "NUMBER", 13 | ] 14 | 15 | t_PLUS = r'\+' 16 | t_MINUS = r'-' 17 | t_NUMBER = r'\d+' 18 | 19 | def t_error(t): 20 | pass 21 | 22 | lex.lex() 23 | 24 | 25 | -------------------------------------------------------------------------------- /src/mem/protocol/GPU_RfO.slicc: -------------------------------------------------------------------------------- 1 | protocol "GPU_AMD_Base"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_AMD_Base-msg.sm"; 4 | include "MOESI_AMD_Base-dir.sm"; 5 | include "MOESI_AMD_Base-CorePair.sm"; 6 | include "GPU_RfO-TCP.sm"; 7 | include "GPU_RfO-SQC.sm"; 8 | include "GPU_RfO-TCC.sm"; 9 | include "GPU_RfO-TCCdir.sm"; 10 | include "MOESI_AMD_Base-L3cache.sm"; 11 | include "MOESI_AMD_Base-RegionBuffer.sm"; 12 | -------------------------------------------------------------------------------- /tests/long/se/10.mcf/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: CP14 unimplemented crn[8], opc1[2], crm[9], opc2[4] 6 | -------------------------------------------------------------------------------- /ext/ply/test/lex_re2.py: -------------------------------------------------------------------------------- 1 | # lex_re2.py 2 | # 3 | # Regular expression rule matches empty string 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+?' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'(\d+)' 19 | 20 | def t_error(t): 21 | pass 22 | 23 | 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_rule1.py: -------------------------------------------------------------------------------- 1 | # lex_rule1.py 2 | # 3 | # Rule function with incorrect number of arguments 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = 1 19 | 20 | def t_error(t): 21 | pass 22 | 23 | 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_error3.py: -------------------------------------------------------------------------------- 1 | # lex_error3.py 2 | # 3 | # t_error defined as function, but with wrong # args 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | def t_error(): 21 | pass 22 | 23 | 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_error4.py: -------------------------------------------------------------------------------- 1 | # lex_error4.py 2 | # 3 | # t_error defined as function, but too many args 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | def t_error(t,s): 21 | pass 22 | 23 | 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_dup1.py: -------------------------------------------------------------------------------- 1 | # lex_dup1.py 2 | # 3 | # Duplicated rule specifiers 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | t_NUMBER = r'\d+' 21 | 22 | def t_error(t): 23 | pass 24 | 25 | 26 | 27 | lex.lex() 28 | 29 | 30 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/x86/linux/pc-simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting terminal connections 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: Reading current count from inactive timer. 4 | warn: Don't know what interrupt to clear for console. 5 | warn: x86 cpuid: unknown family 0x8086 6 | warn: Tried to clear PCI interrupt 14 7 | warn: Unknown mouse command 0xe1. 8 | warn: instruction 'wbinvd' unimplemented 9 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/qtmd.h: -------------------------------------------------------------------------------- 1 | #if defined( __sparc ) || defined( __sparc__ ) 2 | #include "sysc/qt/md/sparc.h" 3 | #elif defined( __hppa ) 4 | #include "sysc/qt/md/hppa.h" 5 | #elif defined( __x86_64__ ) 6 | #include "sysc/qt/md/iX86_64.h" 7 | #elif defined( __i386 ) 8 | #include "sysc/qt/md/i386.h" 9 | #elif defined( __ppc__ ) 10 | #include "sysc/qt/md/powerpc_mach.h" 11 | #elif defined( __powerpc ) 12 | #include "sysc/qt/md/powerpc_sys5.h" 13 | #endif 14 | -------------------------------------------------------------------------------- /tests/long/se/10.mcf/ref/x86/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | info: Increasing stack size by one page. 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_cmake_build/subdirectory_function/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12) 2 | project(test_subdirectory_module CXX) 3 | 4 | add_subdirectory(${PYBIND11_PROJECT_DIR} pybind11) 5 | pybind11_add_module(test_cmake_build THIN_LTO ../main.cpp) 6 | 7 | add_custom_target(check ${CMAKE_COMMAND} -E env PYTHONPATH=$ 8 | ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../test.py ${PROJECT_NAME}) 9 | -------------------------------------------------------------------------------- /ext/ply/test/lex_ignore2.py: -------------------------------------------------------------------------------- 1 | # lex_ignore2.py 2 | # 3 | # ignore declaration as a raw string 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | t_ignore = r' \t' 21 | 22 | def t_error(t): 23 | pass 24 | 25 | 26 | 27 | lex.lex() 28 | 29 | 30 | -------------------------------------------------------------------------------- /ext/ply/test/lex_rule3.py: -------------------------------------------------------------------------------- 1 | # lex_rule3.py 2 | # 3 | # Rule function with incorrect number of arguments 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | def t_NUMBER(t,s): 19 | r'\d+' 20 | return t 21 | 22 | def t_error(t): 23 | pass 24 | 25 | lex.lex() 26 | 27 | 28 | -------------------------------------------------------------------------------- /tests/test-progs/mwait/Makefile: -------------------------------------------------------------------------------- 1 | 2 | CPP := g++ 3 | 4 | TEST_OBJS := mwait.o 5 | TEST_PROGS := $(TEST_OBJS:.o=) 6 | 7 | # ==== Rules ================================================================== 8 | 9 | .PHONY: default clean 10 | 11 | default: $(TEST_PROGS) 12 | 13 | clean: 14 | $(RM) $(TEST_OBJS) $(TEST_PROGS) 15 | 16 | $(TEST_PROGS): $(TEST_OBJS) 17 | $(CPP) -static -o $@ $@.o pthread.o 18 | 19 | %.o: %.c Makefile 20 | $(CPP) -c -o $@ $*.c -msse3 21 | -------------------------------------------------------------------------------- /ext/ply/test/lex_re3.py: -------------------------------------------------------------------------------- 1 | # lex_re3.py 2 | # 3 | # Regular expression rule matches empty string 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | "POUND", 15 | ] 16 | 17 | t_PLUS = r'\+' 18 | t_MINUS = r'-' 19 | t_NUMBER = r'(\d+)' 20 | t_POUND = r'#' 21 | 22 | def t_error(t): 23 | pass 24 | 25 | 26 | 27 | lex.lex() 28 | 29 | 30 | -------------------------------------------------------------------------------- /ext/ply/test/lex_rule2.py: -------------------------------------------------------------------------------- 1 | # lex_rule2.py 2 | # 3 | # Rule function with incorrect number of arguments 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | def t_NUMBER(): 19 | r'\d+' 20 | return t 21 | 22 | def t_error(t): 23 | pass 24 | 25 | 26 | 27 | lex.lex() 28 | 29 | 30 | -------------------------------------------------------------------------------- /src/mem/protocol/GPU_VIPER_Region.slicc: -------------------------------------------------------------------------------- 1 | protocol "GPU_VIPER_Region"; 2 | include "RubySlicc_interfaces.slicc"; 3 | include "MOESI_AMD_Base-msg.sm"; 4 | include "MOESI_AMD_Base-Region-CorePair.sm"; 5 | include "MOESI_AMD_Base-L3cache.sm"; 6 | include "MOESI_AMD_Base-Region-dir.sm"; 7 | include "GPU_VIPER_Region-TCC.sm"; 8 | include "GPU_VIPER-TCP.sm"; 9 | include "GPU_VIPER-SQC.sm"; 10 | include "MOESI_AMD_Base-RegionDir.sm"; 11 | include "MOESI_AMD_Base-RegionBuffer.sm"; 12 | -------------------------------------------------------------------------------- /ext/ply/test/lex_dup3.py: -------------------------------------------------------------------------------- 1 | # lex_dup3.py 2 | # 3 | # Duplicated rule specifiers 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | def t_NUMBER(t): 21 | r'\d+' 22 | pass 23 | 24 | def t_error(t): 25 | pass 26 | 27 | 28 | 29 | lex.lex() 30 | 31 | 32 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token_dup.py: -------------------------------------------------------------------------------- 1 | # lex_token_dup.py 2 | # 3 | # Duplicate token name in tokens 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | "MINUS" 15 | ] 16 | 17 | t_PLUS = r'\+' 18 | t_MINUS = r'-' 19 | 20 | def t_NUMBER(t): 21 | r'\d+' 22 | return t 23 | 24 | def t_error(t): 25 | pass 26 | 27 | lex.lex() 28 | 29 | 30 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/hppa-cnx.Makefile: -------------------------------------------------------------------------------- 1 | # This file (cnx_spp.Makefile) is part of the port of QuickThreads for 2 | # PA-RISC 1.1 architecture on a Convex SPP. This file is a machine dependent 3 | # makefile for QuickThreads. It was written in 1994 by Uwe Reder 4 | # (`uereder@cip.informatik.uni-erlangen.de') for the Operating Systems 5 | # Department (IMMD4) at the University of Erlangen/Nuernberg Germany. 6 | 7 | # `Normal' configuration. 8 | 9 | CC = /usr/convex/bin/cc 10 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/gcd.bas: -------------------------------------------------------------------------------- 1 | 10 PRINT "A","B","C","GCD" 2 | 20 READ A,B,C 3 | 30 LET X = A 4 | 40 LET Y = B 5 | 50 GOSUB 200 6 | 60 LET X = G 7 | 70 LET Y = C 8 | 80 GOSUB 200 9 | 90 PRINT A, B, C, G 10 | 100 GOTO 20 11 | 110 DATA 60, 90, 120 12 | 120 DATA 38456, 64872, 98765 13 | 130 DATA 32, 384, 72 14 | 200 LET Q = INT(X/Y) 15 | 210 LET R = X - Q*Y 16 | 220 IF R = 0 THEN 300 17 | 230 LET X = Y 18 | 240 LET Y = R 19 | 250 GOTO 200 20 | 300 LET G = Y 21 | 310 RETURN 22 | 999 END 23 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/o3-timing-checker/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | info: Entering event queue @ 0. Starting simulation... 6 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/sales.bas: -------------------------------------------------------------------------------- 1 | 10 FOR I = 1 TO 3 2 | 20 READ P(I) 3 | 30 NEXT I 4 | 40 FOR I = 1 TO 3 5 | 50 FOR J = 1 TO 5 6 | 60 READ S(I,J) 7 | 70 NEXT J 8 | 80 NEXT I 9 | 90 FOR J = 1 TO 5 10 | 100 LET S = 0 11 | 110 FOR I = 1 TO 3 12 | 120 LET S = S + P(I) * S(I,J) 13 | 130 NEXT I 14 | 140 PRINT "TOTAL SALES FOR SALESMAN"J, "$"S 15 | 150 NEXT J 16 | 200 DATA 1.25, 4.30, 2.50 17 | 210 DATA 40, 20, 37, 29, 42 18 | 220 DATA 10, 16, 3, 21, 8 19 | 230 DATA 35, 47, 29, 16, 33 20 | 300 END 21 | -------------------------------------------------------------------------------- /configs/boot/netperf-stream-udp-local.rcS: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | SERVER=127.0.0.1 3 | CLIENT=127.0.0.1 4 | 5 | echo "setting up network..." 6 | ifconfig lo 127.0.0.1 7 | 8 | BINARY=/benchmarks/netperf-bin/netperf 9 | TEST="UDP_STREAM" 10 | SHORT_ARGS="-l 2 -- -m 4096" 11 | 12 | echo "running netserver..." 13 | /benchmarks/netperf-bin/netserver 14 | 15 | 16 | SHORT="$BINARY -H $SERVER -t $TEST $SHORT_ARGS" 17 | 18 | echo "starting test..." 19 | echo $SHORT 20 | eval $SHORT 21 | 22 | /sbin/m5 exit 23 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/alpha/linux/tsunami-o3/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: Prefetch instructions in Alpha do not do anything 6 | warn: Prefetch instructions in Alpha do not do anything 7 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/x86/linux/o3-timing/smred.pl1: -------------------------------------------------------------------------------- 1 | $COUNT_1/$AND2_4/$IV_1 0 0 4 26 0 1 2 | $COUNT_1/$AND2_3/$IV_1 4 0 8 26 2 1 3 | $COUNT_1/$AND2_2/$ND2_1 8 0 14 26 0 1 4 | ACOUNT_1 14 0 18 26 2 1 5 | twfeed1 18 0 22 26 0 1 6 | $COUNT_1/$FJK3_1 22 0 86 26 0 1 7 | $COUNT_1/$AND2_3/$ND2_1 0 52 6 78 0 2 8 | $COUNT_1/$AND2_4/$ND2_1 6 52 12 78 2 2 9 | $COUNT_1/$AND2_2/$IV_1 12 52 16 78 2 2 10 | $COUNT_1/$AND2_1/$ND2_1 16 52 22 78 2 2 11 | $COUNT_1/$FJK3_2 22 52 86 78 0 2 12 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 9 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/hppa.Makefile: -------------------------------------------------------------------------------- 1 | # This file (pa-risc.Makefile) is part of the port of QuickThreads for 2 | # PA-RISC 1.1 architecture. This file is a machine dependent makefile 3 | # for QuickThreads. It was written in 1994 by Uwe Reder 4 | # (`uereder@cip.informatik.uni-erlangen.de') for the Operating Systems 5 | # Department (IMMD4) at the University of Erlangen/Nuernberg Germany. 6 | 7 | # `Normal' configuration. 8 | 9 | CC = cc -Aa 10 | 11 | .s.o: 12 | /usr/ccs/bin/as -o $@ $< 13 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/alpha/linux/tsunami-minor/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: Prefetch instructions in Alpha do not do anything 6 | warn: Prefetch instructions in Alpha do not do anything 7 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings. 5 | Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello' 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | info: Entering event queue @ 0. Starting simulation... 4 | warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings. 5 | Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello' 6 | info: Increasing stack size by one page. 7 | -------------------------------------------------------------------------------- /tests/quick/se/04.gpu/ref/x86/linux/gpu-ruby-GPU_VIPER/simerr: -------------------------------------------------------------------------------- 1 | warn: system.ruby.network adopting orphan SimObject param 'int_links' 2 | warn: system.ruby.network adopting orphan SimObject param 'ext_links' 3 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 4 | warn: Sockets disabled, not accepting gdb connections 5 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 6 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/smred.pl1: -------------------------------------------------------------------------------- 1 | $COUNT_1/$AND2_4/$IV_1 0 0 4 26 0 1 2 | $COUNT_1/$AND2_3/$IV_1 4 0 8 26 2 1 3 | $COUNT_1/$AND2_2/$ND2_1 8 0 14 26 0 1 4 | ACOUNT_1 14 0 18 26 2 1 5 | twfeed1 18 0 22 26 0 1 6 | $COUNT_1/$FJK3_1 22 0 86 26 0 1 7 | $COUNT_1/$AND2_3/$ND2_1 0 52 6 78 0 2 8 | $COUNT_1/$AND2_4/$ND2_1 6 52 12 78 2 2 9 | $COUNT_1/$AND2_2/$IV_1 12 52 16 78 2 2 10 | $COUNT_1/$AND2_1/$ND2_1 16 52 22 78 2 2 11 | $COUNT_1/$FJK3_2 22 52 86 78 0 2 12 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/smred.pl1: -------------------------------------------------------------------------------- 1 | $COUNT_1/$AND2_4/$IV_1 0 0 4 26 0 1 2 | $COUNT_1/$AND2_3/$IV_1 4 0 8 26 2 1 3 | $COUNT_1/$AND2_2/$ND2_1 8 0 14 26 0 1 4 | ACOUNT_1 14 0 18 26 2 1 5 | twfeed1 18 0 22 26 0 1 6 | $COUNT_1/$FJK3_1 22 0 86 26 0 1 7 | $COUNT_1/$AND2_3/$ND2_1 0 52 6 78 0 2 8 | $COUNT_1/$AND2_4/$ND2_1 6 52 12 78 2 2 9 | $COUNT_1/$AND2_2/$IV_1 12 52 16 78 2 2 10 | $COUNT_1/$AND2_1/$ND2_1 16 52 22 78 2 2 11 | $COUNT_1/$FJK3_2 22 52 86 78 0 2 12 | -------------------------------------------------------------------------------- /ext/ply/test/lex_dup2.py: -------------------------------------------------------------------------------- 1 | # lex_dup2.py 2 | # 3 | # Duplicated rule specifiers 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | def t_NUMBER(t): 19 | r'\d+' 20 | pass 21 | 22 | def t_NUMBER(t): 23 | r'\d+' 24 | pass 25 | 26 | def t_error(t): 27 | pass 28 | 29 | 30 | 31 | lex.lex() 32 | 33 | 34 | -------------------------------------------------------------------------------- /ext/ply/test/lex_ignore.py: -------------------------------------------------------------------------------- 1 | # lex_ignore.py 2 | # 3 | # Improperly specific ignore declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | t_NUMBER = r'\d+' 19 | 20 | def t_ignore(t): 21 | ' \t' 22 | pass 23 | 24 | def t_error(t): 25 | pass 26 | 27 | import sys 28 | 29 | lex.lex() 30 | 31 | 32 | -------------------------------------------------------------------------------- /tests/long/se/40.perlbmk/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: fcntl64(3, 2) passed through to host 6 | info: Increasing stack size by one page. 7 | info: Increasing stack size by one page. 8 | -------------------------------------------------------------------------------- /tests/quick/se/04.gpu/ref/x86/linux/gpu-ruby-GPU_VIPER_Region/simerr: -------------------------------------------------------------------------------- 1 | warn: system.ruby.network adopting orphan SimObject param 'int_links' 2 | warn: system.ruby.network adopting orphan SimObject param 'ext_links' 3 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 4 | warn: Sockets disabled, not accepting gdb connections 5 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 6 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby-MOESI_hammer/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 9 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/smred.pl1: -------------------------------------------------------------------------------- 1 | $COUNT_1/$AND2_4/$IV_1 0 0 4 26 0 1 2 | $COUNT_1/$AND2_3/$IV_1 4 0 8 26 2 1 3 | $COUNT_1/$AND2_2/$ND2_1 8 0 14 26 0 1 4 | ACOUNT_1 14 0 18 26 2 1 5 | twfeed1 18 0 22 26 0 1 6 | $COUNT_1/$FJK3_1 22 0 86 26 0 1 7 | $COUNT_1/$AND2_3/$ND2_1 0 52 6 78 0 2 8 | $COUNT_1/$AND2_4/$ND2_1 6 52 12 78 2 2 9 | $COUNT_1/$AND2_2/$IV_1 12 52 16 78 2 2 10 | $COUNT_1/$AND2_1/$ND2_1 16 52 22 78 2 2 11 | $COUNT_1/$FJK3_2 22 52 86 78 0 2 12 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/smred.pl1: -------------------------------------------------------------------------------- 1 | $COUNT_1/$AND2_4/$IV_1 0 0 4 26 0 1 2 | $COUNT_1/$AND2_3/$IV_1 4 0 8 26 2 1 3 | $COUNT_1/$AND2_2/$ND2_1 8 0 14 26 0 1 4 | ACOUNT_1 14 0 18 26 2 1 5 | twfeed1 18 0 22 26 0 1 6 | $COUNT_1/$FJK3_1 22 0 86 26 0 1 7 | $COUNT_1/$AND2_3/$ND2_1 0 52 6 78 0 2 8 | $COUNT_1/$AND2_4/$ND2_1 6 52 12 78 2 2 9 | $COUNT_1/$AND2_2/$IV_1 12 52 16 78 2 2 10 | $COUNT_1/$AND2_1/$ND2_1 16 52 22 78 2 2 11 | $COUNT_1/$FJK3_2 22 52 86 78 0 2 12 | -------------------------------------------------------------------------------- /ext/ply/TODO: -------------------------------------------------------------------------------- 1 | The PLY to-do list: 2 | 3 | 1. Finish writing the C Preprocessor module. Started in the 4 | file ply/cpp.py 5 | 6 | 2. Create and document libraries of useful tokens. 7 | 8 | 3. Expand the examples/yply tool that parses bison/yacc 9 | files. 10 | 11 | 4. Think of various diabolical things to do with the 12 | new yacc internals. For example, it is now possible 13 | to specify grammrs using completely different schemes 14 | than the reflection approach used by PLY. 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/alpha/linux/tsunami-simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: Prefetch instructions in Alpha do not do anything 6 | warn: Prefetch instructions in Alpha do not do anything 7 | -------------------------------------------------------------------------------- /tests/quick/se/04.gpu/ref/x86/linux/gpu-ruby-GPU_VIPER_Baseline/simerr: -------------------------------------------------------------------------------- 1 | warn: system.ruby.network adopting orphan SimObject param 'int_links' 2 | warn: system.ruby.network adopting orphan SimObject param 'ext_links' 3 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 4 | warn: Sockets disabled, not accepting gdb connections 5 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 6 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby-MESI_Two_Level/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 9 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby-MOESI_CMP_token/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 9 | -------------------------------------------------------------------------------- /ext/ply/test/lex_token5.py: -------------------------------------------------------------------------------- 1 | # lex_token5.py 2 | # 3 | # Return a bad token name 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | t_PLUS = r'\+' 17 | t_MINUS = r'-' 18 | 19 | def t_NUMBER(t): 20 | r'\d+' 21 | t.type = "NUM" 22 | return t 23 | 24 | def t_error(t): 25 | pass 26 | 27 | lex.lex() 28 | lex.input("1234") 29 | t = lex.token() 30 | 31 | 32 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby-MOESI_CMP_directory/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 9 | -------------------------------------------------------------------------------- /ext/fputils/.gitignore: -------------------------------------------------------------------------------- 1 | /tests/Makefile 2 | /tests/Makefile.in 3 | /tests/fp80_cvfd 4 | /tests/fp80_cvtd 5 | /tests/fp80_cvtf 6 | /config.h 7 | /config.h.in 8 | /doxygen-doc 9 | /Doxyfile 10 | /Makefile.in 11 | /Makefile 12 | aclocal.m4 13 | autom4te.cache 14 | compile 15 | config.guess 16 | config.log 17 | config.status 18 | config.sub 19 | configure 20 | depcomp 21 | install-sh 22 | libtool 23 | ltmain.sh 24 | missing 25 | package.m5 26 | stamp-h1 27 | .deps 28 | .libs 29 | *.a 30 | *.la 31 | *.lo 32 | *.o 33 | *~ 34 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/linear.bas: -------------------------------------------------------------------------------- 1 | 1 REM ::: SOLVE A SYSTEM OF LINEAR EQUATIONS 2 | 2 REM ::: A1*X1 + A2*X2 = B1 3 | 3 REM ::: A3*X1 + A4*X2 = B2 4 | 4 REM -------------------------------------- 5 | 10 READ A1, A2, A3, A4 6 | 15 LET D = A1 * A4 - A3 * A2 7 | 20 IF D = 0 THEN 65 8 | 30 READ B1, B2 9 | 37 LET X1 = (B1*A4 - B2*A2) / D 10 | 42 LET X2 = (A1*B2 - A3*B1) / D 11 | 55 PRINT X1, X2 12 | 60 GOTO 30 13 | 65 PRINT "NO UNIQUE SOLUTION" 14 | 70 DATA 1, 2, 4 15 | 80 DATA 2, -7, 5 16 | 85 DATA 1, 3, 4, -7 17 | 90 END 18 | -------------------------------------------------------------------------------- /tests/long/se/20.parser/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: CP14 unimplemented crn[8], opc1[2], crm[9], opc2[4] 6 | info: Increasing stack size by one page. 7 | info: Increasing stack size by one page. 8 | -------------------------------------------------------------------------------- /src/unittest/stattestmain.py: -------------------------------------------------------------------------------- 1 | def main(): 2 | from _m5.stattest import stattest_init, stattest_run 3 | import m5.stats 4 | 5 | stattest_init() 6 | 7 | # Initialize the global statistics 8 | m5.stats.initSimStats() 9 | m5.stats.initText("cout") 10 | 11 | # We're done registering statistics. Enable the stats package now. 12 | m5.stats.enable() 13 | 14 | # Reset to put the stats in a consistent state. 15 | m5.stats.reset() 16 | 17 | stattest_run() 18 | 19 | m5.stats.dump() 20 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/alpha/linux/tsunami-simple-atomic-dual/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting terminal connections 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: Prefetch instructions in Alpha do not do anything 6 | warn: Prefetch instructions in Alpha do not do anything 7 | -------------------------------------------------------------------------------- /ext/fputils/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS=-I m4 2 | 3 | SUBDIRS=. tests 4 | 5 | MOSTLYCLEANFILES= 6 | 7 | lib_LTLIBRARIES = libfputils.la 8 | 9 | include_HEADERS = \ 10 | include/fputils/fp80.h \ 11 | include/fputils/fp64.h \ 12 | include/fputils/fptypes.h 13 | 14 | libfputils_la_SOURCES = \ 15 | include/fputils/fp80.h \ 16 | include/fputils/fp64.h \ 17 | include/fputils/fptypes.h \ 18 | fpbits.h \ 19 | fp64.c \ 20 | fp80.c 21 | 22 | 23 | include $(top_srcdir)/doxygen.am 24 | 25 | MOSTLYCLEANFILES += $(DX_CLEANFILES) 26 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/axp.README: -------------------------------------------------------------------------------- 1 | The handling of varargs is platform-dependent. Assar Westerlund 2 | stared at the problem for a while and deduces the following table: 3 | 4 | vers / compiler cc gcc 5 | ---------------------------------------------------------------------- 6 | 1.3 a0, offset __base, __offset 7 | 2.0 _a0, _offset __base, __offset 8 | 9 | The current code should handle both cc and gcc versions, provided 10 | you configure for the correct compiler. 11 | -------------------------------------------------------------------------------- /tests/quick/se/01.hello-2T-smt/ref/alpha/linux/o3-timing-mt/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: Already in the requested power state, request ignored 5 | info: Entering event queue @ 0. Starting simulation... 6 | info: Increasing stack size by one page. 7 | info: Increasing stack size by one page. 8 | -------------------------------------------------------------------------------- /ext/mcpat/cacti/makefile: -------------------------------------------------------------------------------- 1 | TAR = cacti 2 | 3 | .PHONY: dbg opt depend clean clean_dbg clean_opt 4 | 5 | all: opt 6 | 7 | dbg: $(TAR).mk obj_dbg 8 | @$(MAKE) TAG=dbg -C . -f $(TAR).mk 9 | 10 | opt: $(TAR).mk obj_opt 11 | @$(MAKE) TAG=opt -C . -f $(TAR).mk 12 | 13 | obj_dbg: 14 | mkdir $@ 15 | 16 | obj_opt: 17 | mkdir $@ 18 | 19 | clean: clean_dbg clean_opt 20 | 21 | clean_dbg: obj_dbg 22 | @$(MAKE) TAG=dbg -C . -f $(TAR).mk clean 23 | rm -rf $< 24 | 25 | clean_opt: obj_opt 26 | @$(MAKE) TAG=opt -C . -f $(TAR).mk clean 27 | rm -rf $< 28 | 29 | -------------------------------------------------------------------------------- /ext/pybind11/.gitignore: -------------------------------------------------------------------------------- 1 | CMakeCache.txt 2 | CMakeFiles 3 | Makefile 4 | cmake_install.cmake 5 | .DS_Store 6 | *.so 7 | *.pyd 8 | *.dll 9 | *.sln 10 | *.sdf 11 | *.opensdf 12 | *.vcxproj 13 | *.filters 14 | example.dir 15 | Win32 16 | x64 17 | Release 18 | Debug 19 | .vs 20 | CTestTestfile.cmake 21 | Testing 22 | autogen 23 | MANIFEST 24 | /.ninja_* 25 | /*.ninja 26 | /docs/.build 27 | *.py[co] 28 | *.egg-info 29 | *~ 30 | .DS_Store 31 | /dist 32 | /build 33 | /cmake/ 34 | .cache/ 35 | sosize-*.txt 36 | pybind11Config*.cmake 37 | pybind11Targets.cmake 38 | -------------------------------------------------------------------------------- /tests/long/se/60.bzip2/ref/arm/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: CP14 unimplemented crn[8], opc1[2], crm[9], opc2[4] 6 | info: Increasing stack size by one page. 7 | info: Increasing stack size by one page. 8 | info: Increasing stack size by one page. 9 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/x86/linux/pc-simple-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: Reading current count from inactive timer. 5 | warn: Don't know what interrupt to clear for console. 6 | warn: x86 cpuid: unknown family 0x8086 7 | warn: Tried to clear PCI interrupt 14 8 | warn: Unknown mouse command 0xe1. 9 | warn: instruction 'wbinvd' unimplemented 10 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/copyright.h: -------------------------------------------------------------------------------- 1 | /* 2 | * QuickThreads -- Threads-building toolkit. 3 | * Copyright (c) 1993 by David Keppel 4 | * 5 | * Permission to use, copy, modify and distribute this software and 6 | * its documentation for any purpose and without fee is hereby 7 | * granted, provided that the above copyright notice and this notice 8 | * appear in all copies. This software is provided as a 9 | * proof-of-concept and for demonstration purposes; there is no 10 | * representation about the suitability of this software for any 11 | * purpose. 12 | */ 13 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/null.s: -------------------------------------------------------------------------------- 1 | /* 2 | * QuickThreads -- Threads-building toolkit. 3 | * Copyright (c) 1993 by David Keppel 4 | * 5 | * Permission to use, copy, modify and distribute this software and 6 | * its documentation for any purpose and without fee is hereby 7 | * granted, provided that the above copyright notice and this notice 8 | * appear in all copies. This software is provided as a 9 | * proof-of-concept and for demonstration purposes; there is no 10 | * representation about the suitability of this software for any 11 | * purpose. 12 | */ 13 | -------------------------------------------------------------------------------- /ext/iostream3/TODO: -------------------------------------------------------------------------------- 1 | Possible upgrades to gzfilebuf: 2 | 3 | - The ability to do putback (e.g. putbackfail) 4 | 5 | - The ability to seek (zlib supports this, but could be slow/tricky) 6 | 7 | - Simultaneous read/write access (does it make sense?) 8 | 9 | - Support for ios_base::ate open mode 10 | 11 | - Locale support? 12 | 13 | - Check public interface to see which calls give problems 14 | (due to dependence on library internals) 15 | 16 | - Override operator<<(ostream&, gzfilebuf*) to allow direct copying 17 | of stream buffer to stream ( i.e. os << is.rdbuf(); ) 18 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/solaris.README: -------------------------------------------------------------------------------- 1 | Solaris 2.x is like System V (maybe it *is* System V?) and is different 2 | from older versions in that it uses no leading underscore for variable 3 | and function names. That is, the old convention was: 4 | 5 | foo(){} 6 | 7 | got compiled as 8 | 9 | .globl _foo 10 | _foo: 11 | 12 | and is now compiled as 13 | 14 | .globl foo 15 | foo: 16 | 17 | The `config' script should fix up the older (leading underscore) versions 18 | of the machine-dependent files to use the newer (no leading underscore) 19 | calling conventions. 20 | -------------------------------------------------------------------------------- /tests/quick/fs/80.netperf-stream/ref/alpha/linux/twosys-tsunami-simple-atomic/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting terminal connections 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: Prefetch instructions in Alpha do not do anything 6 | warn: Prefetch instructions in Alpha do not do anything 7 | warn: Obsolete M5 ivlb instruction encountered. 8 | -------------------------------------------------------------------------------- /ext/ply/example/BASIC/sears.bas: -------------------------------------------------------------------------------- 1 | 1 REM :: THIS PROGRAM COMPUTES HOW MANY TIMES YOU HAVE TO FOLD 2 | 2 REM :: A PIECE OF PAPER SO THAT IT IS TALLER THAN THE 3 | 3 REM :: SEARS TOWER. 4 | 4 REM :: S = HEIGHT OF TOWER (METERS) 5 | 5 REM :: T = THICKNESS OF PAPER (MILLIMETERS) 6 | 10 LET S = 442 7 | 20 LET T = 0.1 8 | 30 REM CONVERT T TO METERS 9 | 40 LET T = T * .001 10 | 50 LET F = 1 11 | 60 LET H = T 12 | 100 IF H > S THEN 200 13 | 120 LET H = 2 * H 14 | 125 LET F = F + 1 15 | 130 GOTO 100 16 | 200 PRINT "NUMBER OF FOLDS ="F 17 | 220 PRINT "FINAL HEIGHT ="H 18 | 999 END 19 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_cmake_build/installed_function/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 2.8.12) 2 | project(test_installed_module CXX) 3 | 4 | set(CMAKE_MODULE_PATH "") 5 | 6 | find_package(pybind11 CONFIG REQUIRED) 7 | message(STATUS "Found pybind11 v${pybind11_VERSION}: ${pybind11_INCLUDE_DIRS}") 8 | 9 | pybind11_add_module(test_cmake_build SHARED NO_EXTRAS ../main.cpp) 10 | 11 | add_custom_target(check ${CMAKE_COMMAND} -E env PYTHONPATH=$ 12 | ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../test.py ${PROJECT_NAME}) 13 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_copy_move_policies.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | 3 | 4 | def test_lacking_copy_ctor(): 5 | from pybind11_tests import lacking_copy_ctor 6 | with pytest.raises(RuntimeError) as excinfo: 7 | lacking_copy_ctor.get_one() 8 | assert "the object is non-copyable!" in str(excinfo.value) 9 | 10 | 11 | def test_lacking_move_ctor(): 12 | from pybind11_tests import lacking_move_ctor 13 | with pytest.raises(RuntimeError) as excinfo: 14 | lacking_move_ctor.get_one() 15 | assert "the object is neither movable nor copyable!" in str(excinfo.value) 16 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings. 6 | Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello' 7 | info: Increasing stack size by one page. 8 | -------------------------------------------------------------------------------- /util/cpt_upgraders/remove-arm-cpsr-mode-miscreg.py: -------------------------------------------------------------------------------- 1 | # Remove the MISCREG_CPSR_MODE register from the ARM register file 2 | def upgrader(cpt): 3 | if cpt.get('root','isa') == 'arm': 4 | for sec in cpt.sections(): 5 | import re 6 | # Search for all ISA sections 7 | if re.search('.*sys.*\.cpu.*\.isa$', sec): 8 | mr = cpt.get(sec, 'miscRegs').split() 9 | # Remove MISCREG_CPSR_MODE 10 | del mr[137] 11 | cpt.set(sec, 'miscRegs', ' '.join(str(x) for x in mr)) 12 | 13 | legacy_version = 5 14 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/minor-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | info: Entering event queue @ 0. Starting simulation... 5 | warn: readlink() called on '/proc/self/exe' may yield unexpected results in various settings. 6 | Returning '/home/ar4jc/gem5/tests/test-progs/hello/bin/riscv/linux/hello' 7 | info: Increasing stack size by one page. 8 | -------------------------------------------------------------------------------- /tests/long/se/70.twolf/ref/x86/linux/o3-timing/smred.twf: -------------------------------------------------------------------------------- 1 | net 1 2 | segment channel 2 3 | pin1 1 pin2 7 0 0 4 | net 2 5 | segment channel 3 6 | pin1 41 pin2 42 0 0 7 | segment channel 2 8 | pin1 12 pin2 3 0 0 9 | net 3 10 | segment channel 2 11 | pin1 35 pin2 36 0 0 12 | segment channel 2 13 | pin1 19 pin2 35 0 0 14 | net 4 15 | segment channel 2 16 | pin1 5 pin2 38 0 0 17 | net 5 18 | net 7 19 | segment channel 2 20 | pin1 14 pin2 43 0 0 21 | net 8 22 | segment channel 2 23 | pin1 23 pin2 17 0 0 24 | net 9 25 | net 11 26 | segment channel 2 27 | pin1 25 pin2 31 0 0 28 | net 14 29 | net 15 30 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | warn: Prefetch instructions in Alpha do not do anything 7 | warn: Prefetch instructions in Alpha do not do anything 8 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-atomic/smred.twf: -------------------------------------------------------------------------------- 1 | net 1 2 | segment channel 2 3 | pin1 1 pin2 7 0 0 4 | net 2 5 | segment channel 3 6 | pin1 41 pin2 42 0 0 7 | segment channel 2 8 | pin1 12 pin2 3 0 0 9 | net 3 10 | segment channel 2 11 | pin1 35 pin2 36 0 0 12 | segment channel 2 13 | pin1 19 pin2 35 0 0 14 | net 4 15 | segment channel 2 16 | pin1 5 pin2 38 0 0 17 | net 5 18 | net 7 19 | segment channel 2 20 | pin1 14 pin2 43 0 0 21 | net 8 22 | segment channel 2 23 | pin1 23 pin2 17 0 0 24 | net 9 25 | net 11 26 | segment channel 2 27 | pin1 25 pin2 31 0 0 28 | net 14 29 | net 15 30 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/x86/linux/simple-timing/smred.twf: -------------------------------------------------------------------------------- 1 | net 1 2 | segment channel 2 3 | pin1 1 pin2 7 0 0 4 | net 2 5 | segment channel 3 6 | pin1 41 pin2 42 0 0 7 | segment channel 2 8 | pin1 12 pin2 3 0 0 9 | net 3 10 | segment channel 2 11 | pin1 35 pin2 36 0 0 12 | segment channel 2 13 | pin1 19 pin2 35 0 0 14 | net 4 15 | segment channel 2 16 | pin1 5 pin2 38 0 0 17 | net 5 18 | net 7 19 | segment channel 2 20 | pin1 14 pin2 43 0 0 21 | net 8 22 | segment channel 2 23 | pin1 23 pin2 17 0 0 24 | net 9 25 | net 11 26 | segment channel 2 27 | pin1 25 pin2 31 0 0 28 | net 14 29 | net 15 30 | -------------------------------------------------------------------------------- /util/cpt_upgraders/arm-contextidr-el2.py: -------------------------------------------------------------------------------- 1 | # Add the ARM CONTEXTIDR_EL2 miscreg. 2 | def upgrader(cpt): 3 | if cpt.get('root','isa') == 'arm': 4 | for sec in cpt.sections(): 5 | import re 6 | # Search for all ISA sections 7 | if re.search('.*sys.*\.cpu.*\.isa$', sec): 8 | miscRegs = cpt.get(sec, 'miscRegs').split() 9 | # CONTEXTIDR_EL2 defaults to 0b11111100000000000001 10 | miscRegs[599:599] = [0xFC001] 11 | cpt.set(sec, 'miscRegs', ' '.join(str(x) for x in miscRegs)) 12 | 13 | legacy_version = 14 14 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-atomic/smred.twf: -------------------------------------------------------------------------------- 1 | net 1 2 | segment channel 2 3 | pin1 1 pin2 7 0 0 4 | net 2 5 | segment channel 3 6 | pin1 41 pin2 42 0 0 7 | segment channel 2 8 | pin1 12 pin2 3 0 0 9 | net 3 10 | segment channel 2 11 | pin1 35 pin2 36 0 0 12 | segment channel 2 13 | pin1 19 pin2 35 0 0 14 | net 4 15 | segment channel 2 16 | pin1 5 pin2 38 0 0 17 | net 5 18 | net 7 19 | segment channel 2 20 | pin1 14 pin2 43 0 0 21 | net 8 22 | segment channel 2 23 | pin1 23 pin2 17 0 0 24 | net 9 25 | net 11 26 | segment channel 2 27 | pin1 25 pin2 31 0 0 28 | net 14 29 | net 15 30 | -------------------------------------------------------------------------------- /tests/quick/se/70.twolf/ref/sparc/linux/simple-timing/smred.twf: -------------------------------------------------------------------------------- 1 | net 1 2 | segment channel 2 3 | pin1 1 pin2 7 0 0 4 | net 2 5 | segment channel 3 6 | pin1 41 pin2 42 0 0 7 | segment channel 2 8 | pin1 12 pin2 3 0 0 9 | net 3 10 | segment channel 2 11 | pin1 35 pin2 36 0 0 12 | segment channel 2 13 | pin1 19 pin2 35 0 0 14 | net 4 15 | segment channel 2 16 | pin1 5 pin2 38 0 0 17 | net 5 18 | net 7 19 | segment channel 2 20 | pin1 14 pin2 43 0 0 21 | net 8 22 | segment channel 2 23 | pin1 23 pin2 17 0 0 24 | net 9 25 | net 11 26 | segment channel 2 27 | pin1 25 pin2 31 0 0 28 | net 14 29 | net 15 30 | -------------------------------------------------------------------------------- /util/ccdrv/readme.txt: -------------------------------------------------------------------------------- 1 | This driver will read the address you point it to [count] times and 2 | print the results to the systemlog. 3 | 4 | To build the driver (Linux 2.6.X only) execute: 5 | make -C /path/to/linux-2.6.X/ SUBDIRS=$PWD modules 6 | 7 | 8 | Insmodding the kernel module without options will print 9 | the device addresses of eth0 and eth1 if they exist. 10 | 11 | Insmodding the kernel module with the options: 12 | dataAddr=0xXXXXXXXXX and count=XXXXX 13 | 14 | will read a long at addr dataAddr count times and return. 15 | 16 | Between runs you need to rmmod the module from the kernel. 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/alpha/linux/tsunami-simple-timing-dual/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | warn: Prefetch instructions in Alpha do not do anything 7 | warn: Prefetch instructions in Alpha do not do anything 8 | -------------------------------------------------------------------------------- /ext/sst/Makefile: -------------------------------------------------------------------------------- 1 | # These two variables are designed to be modifiable. 2 | SST_VERSION=SST-trunk 3 | GEM5_LIB=gem5_opt 4 | 5 | LDFLAGS=-shared -fno-common ${shell pkg-config ${SST_VERSION} --libs} -L../../build/ARM 6 | CXXFLAGS=-std=c++0x -g -O2 -fPIC ${shell pkg-config ${SST_VERSION} --cflags} ${shell python-config --includes} -I../../build/ARM 7 | CPPFLAGS+=-MMD -MP 8 | SRC=$(wildcard *.cc) 9 | 10 | .PHONY: clean all 11 | 12 | all: libgem5.so 13 | 14 | libgem5.so: $(SRC:%.cc=%.o) 15 | ${CXX} ${CPPFLAGS} ${LDFLAGS} $? -o $@ -l${GEM5_LIB} 16 | 17 | -include $(SRC:%.cc=%.d) 18 | 19 | clean: 20 | ${RM} *.[do] libgem5.so 21 | -------------------------------------------------------------------------------- /util/cpt_upgraders/x86-add-tlb.py: -------------------------------------------------------------------------------- 1 | # Add TLB to x86 checkpoints 2 | def upgrader(cpt): 3 | if cpt.get('root','isa') == 'x86': 4 | for sec in cpt.sections(): 5 | import re 6 | # Search for all ISA sections 7 | if re.search('.*sys.*\.cpu.*\.dtb$', sec): 8 | cpt.set(sec, '_size', '0') 9 | cpt.set(sec, 'lruSeq', '0') 10 | 11 | if re.search('.*sys.*\.cpu.*\.itb$', sec): 12 | cpt.set(sec, '_size', '0') 13 | cpt.set(sec, 'lruSeq', '0') 14 | else: 15 | print "ISA is not x86" 16 | 17 | legacy_version = 6 18 | -------------------------------------------------------------------------------- /ext/pybind11/docs/Doxyfile: -------------------------------------------------------------------------------- 1 | PROJECT_NAME = pybind11 2 | INPUT = ../include/pybind11/ 3 | 4 | GENERATE_HTML = NO 5 | GENERATE_LATEX = NO 6 | GENERATE_XML = YES 7 | XML_OUTPUT = .build/doxygenxml 8 | XML_PROGRAMLISTING = YES 9 | 10 | MACRO_EXPANSION = YES 11 | EXPAND_ONLY_PREDEF = YES 12 | EXPAND_AS_DEFINED = PYBIND11_RUNTIME_EXCEPTION 13 | 14 | ALIASES = "rst=\verbatim embed:rst" 15 | ALIASES += "endrst=\endverbatim" 16 | 17 | QUIET = YES 18 | WARNINGS = YES 19 | WARN_IF_UNDOCUMENTED = NO 20 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/x86/linux/pc-o3-timing/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: Reading current count from inactive timer. 5 | warn: Don't know what interrupt to clear for console. 6 | warn: x86 cpuid: unknown family 0x8086 7 | warn: x86 cpuid: unknown family 0x8086 8 | warn: x86 cpuid: unknown family 0x8086 9 | warn: Tried to clear PCI interrupt 14 10 | warn: Unknown mouse command 0xe1. 11 | warn: instruction 'wbinvd' unimplemented 12 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/CHANGES: -------------------------------------------------------------------------------- 1 | QuickThreads 002: Changes since QuickThreads 001. 2 | 3 | - Now can be used by C++ programs. 4 | - Now *really* works with stacks that grow up. 5 | - Supports AXP OSF 2.x cc's varargs. 6 | - Supports HP Precision (HP-PA) on workstations and Convex. 7 | - Supports assemblers for Intel iX86 ith only '//'-style comments. 8 | - Supports Silicon Graphics Irix 5.x with dynamic linking. 9 | - Supports System V and Solaris 2.x with no `_' on compiler-generated 10 | identifiers; *some* platforms only. 11 | 12 | Note: not all "./config" arguments are compatible with QT 001. 13 | 14 | 15 | QuickThreads 001: Base version. 16 | -------------------------------------------------------------------------------- /util/cpt_upgraders/dvfs-perflevel.py: -------------------------------------------------------------------------------- 1 | # Add the perfLevel variable in the clock domain and voltage domain simObjects 2 | def upgrader(cpt): 3 | for sec in cpt.sections(): 4 | import re 5 | 6 | if re.match('^.*sys.*[._]clk_domain$', sec): 7 | # Make _perfLevel equal to 0 which means best performance 8 | cpt.set(sec, '_perfLevel', ' '.join('0')) 9 | elif re.match('^.*sys.*[._]voltage_domain$', sec): 10 | # Make _perfLevel equal to 0 which means best performance 11 | cpt.set(sec, '_perfLevel', ' '.join('0')) 12 | else: 13 | continue 14 | 15 | legacy_version = 11 16 | -------------------------------------------------------------------------------- /tests/quick/se/04.gpu/ref/x86/linux/gpu-ruby-GPU_RfO/simerr: -------------------------------------------------------------------------------- 1 | warn: system.ruby.network adopting orphan SimObject param 'int_links' 2 | warn: system.ruby.network adopting orphan SimObject param 'ext_links' 3 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes) 4 | warn: Sockets disabled, not accepting gdb connections 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | info: Entering event queue @ 0. Starting simulation... 7 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 8 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_eval.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | 4 | def test_evals(capture): 5 | from pybind11_tests import (test_eval_statements, test_eval, test_eval_single_statement, 6 | test_eval_file, test_eval_failure, test_eval_file_failure) 7 | 8 | with capture: 9 | assert test_eval_statements() 10 | assert capture == "Hello World!" 11 | 12 | assert test_eval() 13 | assert test_eval_single_statement() 14 | 15 | filename = os.path.join(os.path.dirname(__file__), "test_eval_call.py") 16 | assert test_eval_file(filename) 17 | 18 | assert test_eval_failure() 19 | assert test_eval_file_failure() 20 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/alpha/linux/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Sockets disabled, not accepting gdb connections 9 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 10 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 11 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/mips/linux/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Sockets disabled, not accepting gdb connections 9 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 10 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 11 | -------------------------------------------------------------------------------- /tests/quick/se/60.gpu-randomtest/ref/x86/linux/gpu-randomtest-ruby-GPU_RfO/simerr: -------------------------------------------------------------------------------- 1 | warn: system.ruby.network adopting orphan SimObject param 'int_links' 2 | warn: system.ruby.network adopting orphan SimObject param 'ext_links' 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: rounding error > tolerance 8 | 1.250000 rounded to 1 9 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 10 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 11 | -------------------------------------------------------------------------------- /util/cpt_upgraders/arm-miscreg-teehbr.py: -------------------------------------------------------------------------------- 1 | # Add the ARM MISCREG TEEHBR 2 | def upgrader(cpt): 3 | if cpt.get('root','isa') == 'arm': 4 | for sec in cpt.sections(): 5 | import re 6 | # Search for all ISA sections 7 | if re.search('.*sys.*\.cpu.*\.isa$', sec): 8 | mr = cpt.get(sec, 'miscRegs').split() 9 | if len(mr) == 161: 10 | print "MISCREG_TEEHBR already seems to be inserted." 11 | else: 12 | mr.insert(51,0); # Add dummy value for MISCREG_TEEHBR 13 | cpt.set(sec, 'miscRegs', ' '.join(str(x) for x in mr)) 14 | 15 | legacy_version = 8 16 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/ref/sparc/linux/simple-atomic-mp/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | info: Entering event queue @ 0. Starting simulation... 7 | warn: ClockedObject: Already in the requested power state, request ignored 8 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/ref/sparc/linux/simple-timing-mp/simerr: -------------------------------------------------------------------------------- 1 | warn: Sockets disabled, not accepting gdb connections 2 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | info: Entering event queue @ 0. Starting simulation... 7 | warn: ClockedObject: Already in the requested power state, request ignored 8 | -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/ref/null/none/tgen-simple-mem/simout: -------------------------------------------------------------------------------- 1 | gem5 Simulator System. http://gem5.org 2 | gem5 is copyrighted software; use the --copyright option for details. 3 | 4 | gem5 compiled Jan 21 2016 14:20:17 5 | gem5 started Jan 21 2016 14:20:32 6 | gem5 executing on zizzer, pid 63119 7 | command line: build/NULL/gem5.opt -d build/NULL/tests/opt/quick/se/70.tgen/null/none/tgen-simple-mem -re /z/atgutier/gem5/gem5-commit/tests/run.py build/NULL/tests/opt/quick/se/70.tgen/null/none/tgen-simple-mem 8 | 9 | Global frequency set at 1000000000000 ticks per second 10 | info: Entering event queue @ 0. Starting simulation... 11 | Exiting @ tick 100000000000 because simulate() limit reached 12 | -------------------------------------------------------------------------------- /ext/ply/test/yacc_nested.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | if ".." not in sys.path: sys.path.insert(0,"..") 4 | 5 | from ply import lex, yacc 6 | 7 | t_A = 'A' 8 | t_B = 'B' 9 | t_C = 'C' 10 | 11 | tokens = ('A', 'B', 'C') 12 | 13 | the_lexer = lex.lex() 14 | 15 | def t_error(t): 16 | pass 17 | 18 | def p_error(p): 19 | pass 20 | 21 | def p_start(t): 22 | '''start : A nest C''' 23 | pass 24 | 25 | def p_nest(t): 26 | '''nest : B''' 27 | print(t[-1]) 28 | 29 | the_parser = yacc.yacc(debug = False, write_tables = False) 30 | 31 | the_parser.parse('ABC', the_lexer) 32 | the_parser.parse('ABC', the_lexer, tracking=True) 33 | the_parser.parse('ABC', the_lexer, tracking=True, debug=1) 34 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/null.c: -------------------------------------------------------------------------------- 1 | /* 2 | * QuickThreads -- Threads-building toolkit. 3 | * Copyright (c) 1993 by David Keppel 4 | * 5 | * Permission to use, copy, modify and distribute this software and 6 | * its documentation for any purpose and without fee is hereby 7 | * granted, provided that the above copyright notice and this notice 8 | * appear in all copies. This software is provided as a 9 | * proof-of-concept and for demonstration purposes; there is no 10 | * representation about the suitability of this software for any 11 | * purpose. 12 | */ 13 | 14 | char const qtmd_rcsid[] = "$Header: /Users/acg/CVSROOT/systemc-2.3/src/sysc/qt/md/null.c,v 1.1.1.1 2006/12/15 20:20:06 acg Exp $"; 15 | -------------------------------------------------------------------------------- /ext/mcpat/makefile: -------------------------------------------------------------------------------- 1 | TAR = mcpat 2 | BUILD_DIR ?= ../../build 3 | ODIR = $(BUILD_DIR)/mcpat 4 | 5 | .PHONY: all dbg opt clean clean_dbg clean_opt 6 | 7 | all: opt 8 | 9 | dbg: $(TAR).mk $(ODIR)/obj_dbg 10 | @$(MAKE) TAG=dbg ODIR=$(ODIR) -C . -f $(TAR).mk 11 | 12 | opt: $(TAR).mk $(ODIR)/obj_opt 13 | @$(MAKE) TAG=opt ODIR=$(ODIR) -C . -f $(TAR).mk 14 | 15 | $(ODIR)/obj_dbg: 16 | mkdir -p $@ 17 | 18 | $(ODIR)/obj_opt: 19 | mkdir -p $@ 20 | 21 | clean: clean_dbg clean_opt 22 | 23 | clean_dbg: $(ODIR)/obj_dbg 24 | @$(MAKE) TAG=dbg ODIR=$(ODIR) -C . -f $(TAR).mk clean 25 | rm -rf $< 26 | 27 | clean_opt: $(ODIR)/obj_opt 28 | @$(MAKE) TAG=opt ODIR=$(ODIR) -C . -f $(TAR).mk clean 29 | rm -rf $< 30 | 31 | -------------------------------------------------------------------------------- /ext/ply/test/yacc_rr_unused.py: -------------------------------------------------------------------------------- 1 | # ----------------------------------------------------------------------------- 2 | # yacc_rr_unused.py 3 | # 4 | # A grammar with reduce/reduce conflicts and a rule that never 5 | # gets reduced. 6 | # ----------------------------------------------------------------------------- 7 | import sys 8 | 9 | if ".." not in sys.path: sys.path.insert(0,"..") 10 | import ply.yacc as yacc 11 | 12 | tokens = ('A', 'B', 'C') 13 | 14 | def p_grammar(p): 15 | ''' 16 | rule1 : rule2 B 17 | | rule2 C 18 | 19 | rule2 : rule3 B 20 | | rule4 21 | | rule5 22 | 23 | rule3 : A 24 | 25 | rule4 : A 26 | 27 | rule5 : A 28 | ''' 29 | 30 | yacc.yacc() 31 | -------------------------------------------------------------------------------- /ext/ply/test/lex_many_tokens.py: -------------------------------------------------------------------------------- 1 | # lex_many_tokens.py 2 | # 3 | # Test lex's ability to handle a large number of tokens (beyond the 4 | # 100-group limit of the re module) 5 | 6 | import sys 7 | if ".." not in sys.path: sys.path.insert(0,"..") 8 | 9 | import ply.lex as lex 10 | 11 | tokens = ["TOK%d" % i for i in range(1000)] 12 | 13 | for tok in tokens: 14 | if sys.version_info[0] < 3: 15 | exec("t_%s = '%s:'" % (tok,tok)) 16 | else: 17 | exec("t_%s = '%s:'" % (tok,tok), globals()) 18 | 19 | t_ignore = " \t" 20 | 21 | def t_error(t): 22 | pass 23 | 24 | lex.lex(optimize=1,lextab="manytab") 25 | lex.runmain(data="TOK34: TOK143: TOK269: TOK372: TOK452: TOK561: TOK999:") 26 | 27 | 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state1.py: -------------------------------------------------------------------------------- 1 | # lex_state1.py 2 | # 3 | # Bad state declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = 'comment' 17 | 18 | t_PLUS = r'\+' 19 | t_MINUS = r'-' 20 | t_NUMBER = r'\d+' 21 | 22 | # Comments 23 | def t_comment(t): 24 | r'/\*' 25 | t.lexer.begin('comment') 26 | print("Entering comment state") 27 | 28 | def t_comment_body_part(t): 29 | r'(.|\n)*\*/' 30 | print("comment body %s" % t) 31 | t.lexer.begin('INITIAL') 32 | 33 | def t_error(t): 34 | pass 35 | 36 | 37 | 38 | lex.lex() 39 | 40 | 41 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state2.py: -------------------------------------------------------------------------------- 1 | # lex_state2.py 2 | # 3 | # Bad state declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = ('comment','example') 17 | 18 | t_PLUS = r'\+' 19 | t_MINUS = r'-' 20 | t_NUMBER = r'\d+' 21 | 22 | # Comments 23 | def t_comment(t): 24 | r'/\*' 25 | t.lexer.begin('comment') 26 | print("Entering comment state") 27 | 28 | def t_comment_body_part(t): 29 | r'(.|\n)*\*/' 30 | print("comment body %s" % t) 31 | t.lexer.begin('INITIAL') 32 | 33 | def t_error(t): 34 | pass 35 | 36 | 37 | 38 | lex.lex() 39 | 40 | 41 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/x86/linux/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Sockets disabled, not accepting gdb connections 9 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 10 | info: Entering event queue @ 0. Starting simulation... 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/time/cswap: -------------------------------------------------------------------------------- 1 | #! /bin/awk -f 2 | 3 | BEGIN { 4 | purpose = "report time used by int only and int+fp cswaps"; 5 | 6 | nmach = 0; 7 | 8 | test_int = "7"; 9 | test_fp = "8"; 10 | } 11 | 12 | { 13 | mach = $1 14 | test = $2 15 | iter = $3 16 | time = $6 + $8 17 | 18 | if (machi[mach] == 0) { 19 | machn[nmach] = mach; 20 | machi[mach] = 1; 21 | ++nmach; 22 | } 23 | 24 | us_per_op = time / iter * 1000000 25 | times[mach "_" test] = us_per_op; 26 | } 27 | 28 | 29 | END { 30 | for (i=0; i tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Sockets disabled, not accepting gdb connections 9 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 10 | info: Entering event queue @ 0. Starting simulation... 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64a/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Unknown operating system; assuming Linux. 9 | warn: Sockets disabled, not accepting gdb connections 10 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64d/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Unknown operating system; assuming Linux. 9 | warn: Sockets disabled, not accepting gdb connections 10 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64f/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Unknown operating system; assuming Linux. 9 | warn: Sockets disabled, not accepting gdb connections 10 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /tests/quick/se/02.insttest/ref/riscv/linux-rv64m/simple-timing-ruby/simerr: -------------------------------------------------------------------------------- 1 | warn: rounding error > tolerance 2 | 1.250000 rounded to 1 3 | warn: rounding error > tolerance 4 | 1.250000 rounded to 1 5 | warn: rounding error > tolerance 6 | 1.250000 rounded to 1 7 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (256 Mbytes) 8 | warn: Unknown operating system; assuming Linux. 9 | warn: Sockets disabled, not accepting gdb connections 10 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 11 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 12 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state4.py: -------------------------------------------------------------------------------- 1 | # lex_state4.py 2 | # 3 | # Bad state declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | 17 | states = (('comment', 'exclsive'),) 18 | 19 | t_PLUS = r'\+' 20 | t_MINUS = r'-' 21 | t_NUMBER = r'\d+' 22 | 23 | # Comments 24 | def t_comment(t): 25 | r'/\*' 26 | t.lexer.begin('comment') 27 | print("Entering comment state") 28 | 29 | def t_comment_body_part(t): 30 | r'(.|\n)*\*/' 31 | print("comment body %s" % t) 32 | t.lexer.begin('INITIAL') 33 | 34 | def t_error(t): 35 | pass 36 | 37 | 38 | 39 | lex.lex() 40 | 41 | 42 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state5.py: -------------------------------------------------------------------------------- 1 | # lex_state5.py 2 | # 3 | # Bad state declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = (('comment', 'exclusive'), 17 | ('comment', 'exclusive')) 18 | 19 | t_PLUS = r'\+' 20 | t_MINUS = r'-' 21 | t_NUMBER = r'\d+' 22 | 23 | # Comments 24 | def t_comment(t): 25 | r'/\*' 26 | t.lexer.begin('comment') 27 | print("Entering comment state") 28 | 29 | def t_comment_body_part(t): 30 | r'(.|\n)*\*/' 31 | print("comment body %s" % t) 32 | t.lexer.begin('INITIAL') 33 | 34 | def t_error(t): 35 | pass 36 | 37 | 38 | lex.lex() 39 | 40 | 41 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state_noerror.py: -------------------------------------------------------------------------------- 1 | # lex_state_noerror.py 2 | # 3 | # Declaration of a state for which no rules are defined 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = (('comment', 'exclusive'),) 17 | 18 | t_PLUS = r'\+' 19 | t_MINUS = r'-' 20 | t_NUMBER = r'\d+' 21 | 22 | # Comments 23 | def t_comment(t): 24 | r'/\*' 25 | t.lexer.begin('comment') 26 | print("Entering comment state") 27 | 28 | def t_comment_body_part(t): 29 | r'(.|\n)*\*/' 30 | print("comment body %s" % t) 31 | t.lexer.begin('INITIAL') 32 | 33 | def t_error(t): 34 | pass 35 | 36 | 37 | lex.lex() 38 | 39 | 40 | -------------------------------------------------------------------------------- /configs/boot/bbench-gb.rcS: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | #Author: Anthony Gutierrez 4 | # run script for bbench on gingerbread 5 | 6 | stop_m5() { 7 | /sbin/m5 exit 8 | 9 | return 10 | } 11 | 12 | wait_bb_finishfifo() { 13 | echo "FINISH

FINISH

" > /data/bbench/finish_fifo.html 14 | 15 | return 16 | } 17 | 18 | mkfifo_bbench() { 19 | mkfifo /data/bbench/finish_fifo.html 20 | 21 | return 22 | } 23 | 24 | run_bbench_test() { 25 | mkfifo_bbench 26 | am start -n com.android.browser/.BrowserActivity 27 | wait_bb_finishfifo 28 | 29 | rm /data/bbench/finish_fifo.html 30 | stop_m5 31 | 32 | return 33 | } 34 | 35 | sleep 10 36 | /sbin/m5 dumpstats 37 | /sbin/m5 resetstats 38 | run_bbench_test 39 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/time/README.time: -------------------------------------------------------------------------------- 1 | The program `raw', when run in `..' runs the program `run' produced 2 | from `meas.c'. It produces a raw output file (see `../tmp/*.raw'). 3 | `raw' will die with an error if run in the current directory. Note 4 | that some versions of `time' produce output in an unexpected format; 5 | edit them by hand. 6 | 7 | `prim', `init', `cswap' and `go' produce formatted table entries used 8 | in the documentation (in `../doc'). For example, from `..', 9 | 10 | foreach i (tmp/*.raw) 11 | time/prim $i 12 | end 13 | 14 | See notes in the QuickThreads document about the applicability of 15 | these microbenchmark measurements -- in general, you can expect all 16 | QuickThreads operations to be a bit slower when used in a real 17 | application. 18 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state3.py: -------------------------------------------------------------------------------- 1 | # lex_state3.py 2 | # 3 | # Bad state declaration 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | comment = 1 17 | states = ((comment, 'inclusive'), 18 | ('example', 'exclusive')) 19 | 20 | t_PLUS = r'\+' 21 | t_MINUS = r'-' 22 | t_NUMBER = r'\d+' 23 | 24 | # Comments 25 | def t_comment(t): 26 | r'/\*' 27 | t.lexer.begin('comment') 28 | print("Entering comment state") 29 | 30 | def t_comment_body_part(t): 31 | r'(.|\n)*\*/' 32 | print("comment body %s" % t) 33 | t.lexer.begin('INITIAL') 34 | 35 | def t_error(t): 36 | pass 37 | 38 | 39 | 40 | lex.lex() 41 | 42 | 43 | -------------------------------------------------------------------------------- /tests/quick/se/40.m5threads-test-atomic/ref/sparc/linux/o3-timing-mp/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting gdb connections 3 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 4 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 5 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 6 | warn: ClockedObject: More than one power state change request encountered within the same simulation tick 7 | info: Entering event queue @ 0. Starting simulation... 8 | warn: ClockedObject: Already in the requested power state, request ignored 9 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/powerpc.README: -------------------------------------------------------------------------------- 1 | 2 | PowerPC assembly support 3 | 4 | 5 | 1) MacOS X, Darwin, MKLinux and other systems based on Mach kernel ABI: 6 | 7 | - Configuration command: ./config powerpc-darwin 8 | 9 | - See documentation inside powerpc_mach.h, powerpc_mach.s, powerpc.c. 10 | 11 | 12 | 2) LinuxPPC, and other systems based on System V ABI: 13 | 14 | - Configuration command: ./config powerpc 15 | 16 | - See documentation inside powerpc_sys5.h, powerpc_sys5.s, powerpc.c. 17 | 18 | 19 | Marco Bucci 20 | December 2002 21 | 22 | 23 | * This software is largely based on the original PowerPC-Linux porting 24 | * developed by Ken Aaker 25 | * 26 | * Marco Bucci 27 | * December 2002 28 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state_norule.py: -------------------------------------------------------------------------------- 1 | # lex_state_norule.py 2 | # 3 | # Declaration of a state for which no rules are defined 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = (('comment', 'exclusive'), 17 | ('example', 'exclusive')) 18 | 19 | t_PLUS = r'\+' 20 | t_MINUS = r'-' 21 | t_NUMBER = r'\d+' 22 | 23 | # Comments 24 | def t_comment(t): 25 | r'/\*' 26 | t.lexer.begin('comment') 27 | print("Entering comment state") 28 | 29 | def t_comment_body_part(t): 30 | r'(.|\n)*\*/' 31 | print("comment body %s" % t) 32 | t.lexer.begin('INITIAL') 33 | 34 | def t_error(t): 35 | pass 36 | 37 | 38 | lex.lex() 39 | 40 | 41 | -------------------------------------------------------------------------------- /ext/fputils/configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT(libfputils, 1.0, andreas@sandberg.pp.se) 2 | 3 | AC_CONFIG_MACRO_DIR([m4]) 4 | 5 | AM_INIT_AUTOMAKE([foreign -Wall]) 6 | 7 | DX_PDF_FEATURE(OFF) 8 | DX_PS_FEATURE(OFF) 9 | DX_MAN_FEATURE(OFF) 10 | DX_INIT_DOXYGEN([libfputils]) 11 | 12 | AC_REQUIRE_AUX_FILE([tap-driver.sh]) 13 | 14 | AC_PROG_CC 15 | AC_PROG_CC_C99 16 | AC_PROG_LIBTOOL 17 | AC_PROG_AWK 18 | 19 | if test "x$ac_cv_prog_cc_c99" = "xno"; then 20 | AC_MSG_ERROR([Could not enable C99 support in compiler.]) 21 | fi 22 | 23 | AM_CFLAGS="-Wall -Werror" 24 | AM_CPPFLAGS="-I\$(abs_top_srcdir)/include" 25 | 26 | AC_SUBST(AM_CFLAGS) 27 | AC_SUBST(AM_CPPFLAGS) 28 | 29 | AC_CONFIG_HEADERS([config.h]) 30 | 31 | AC_CONFIG_FILES([ \ 32 | Doxyfile \ 33 | Makefile \ 34 | tests/Makefile \ 35 | ]) 36 | AC_OUTPUT 37 | -------------------------------------------------------------------------------- /ext/pybind11/tests/test_cmake_build/subdirectory_target/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | cmake_minimum_required(VERSION 3.0) 2 | project(test_subdirectory_target CXX) 3 | 4 | add_subdirectory(${PYBIND11_PROJECT_DIR} pybind11) 5 | 6 | add_library(test_cmake_build MODULE ../main.cpp) 7 | 8 | target_link_libraries(test_cmake_build PRIVATE pybind11::module) 9 | 10 | # make sure result is, for example, test_installed_target.so, not libtest_installed_target.dylib 11 | set_target_properties(test_cmake_build PROPERTIES PREFIX "${PYTHON_MODULE_PREFIX}" 12 | SUFFIX "${PYTHON_MODULE_EXTENSION}") 13 | 14 | add_custom_target(check ${CMAKE_COMMAND} -E env PYTHONPATH=$ 15 | ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/../test.py ${PROJECT_NAME}) 16 | -------------------------------------------------------------------------------- /util/cpt_upgraders/smt-interrupts.py: -------------------------------------------------------------------------------- 1 | # Upgrade single-threaded checkpoints to be properly supported with SMT. 2 | # SMT adds per-thread interrupts. Thus we must move the interrupt status 3 | # from the CPU and into the execution context. 4 | def upgrader(cpt): 5 | for sec in cpt.sections(): 6 | import re 7 | 8 | re_cpu_match = re.match('^(.*sys.*\.cpu[^._]*)$', sec) 9 | if re_cpu_match != None: 10 | interrupts = cpt.get(sec, 'interrupts') 11 | intStatus = cpt.get(sec, 'intStatus') 12 | 13 | cpu_name = re_cpu_match.group(1) 14 | 15 | cpt.set(cpu_name + ".xc.0", 'interrupts', interrupts) 16 | cpt.set(cpu_name + ".xc.0", 'intStatus', intStatus) 17 | 18 | cpt.remove_option(sec, 'interrupts') 19 | cpt.remove_option(sec, 'intStatus') 20 | -------------------------------------------------------------------------------- /configs/boot/bbench-ics.rcS: -------------------------------------------------------------------------------- 1 | #!/system/bin/sh 2 | 3 | #Author: Anthony Gutierrez 4 | # run script for bbench on ics 5 | 6 | stop_m5() { 7 | /sbin/m5 exit 8 | 9 | return 10 | } 11 | 12 | wait_bb_finishfifo() { 13 | echo "FINISH

FINISH

" > /data/bbench/finish_fifo.html 14 | 15 | return 16 | } 17 | 18 | mkfifo_bbench() { 19 | /sbin/busybox mkfifo /data/bbench/finish_fifo.html 20 | 21 | return 22 | } 23 | 24 | run_bbench_test() { 25 | mkfifo_bbench 26 | am start -a android.intent.action.VIEW -d file:///data/bbench/index.html -t application/x-webarchive-xml 27 | wait_bb_finishfifo 28 | 29 | rm /data/bbench/finish_fifo.html 30 | stop_m5 31 | 32 | return 33 | } 34 | 35 | sleep 10 36 | /sbin/m5 dumpstats 37 | /sbin/m5 resetstats 38 | run_bbench_test 39 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/x86/linux/pc-o3-timing/simout: -------------------------------------------------------------------------------- 1 | gem5 Simulator System. http://gem5.org 2 | gem5 is copyrighted software; use the --copyright option for details. 3 | 4 | gem5 compiled Dec 4 2015 15:10:31 5 | gem5 started Dec 4 2015 15:13:28 6 | gem5 executing on e104799-lin, pid 29885 7 | command line: build/X86/gem5.opt -d build/X86/tests/opt/long/fs/10.linux-boot/x86/linux/pc-o3-timing -re /work/gem5/outgoing/gem5_2/tests/run.py build/X86/tests/opt/long/fs/10.linux-boot/x86/linux/pc-o3-timing 8 | 9 | Global frequency set at 1000000000000 ticks per second 10 | info: kernel located at: /work/gem5/dist/binaries/x86_64-vmlinux-2.6.22.9 11 | 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 12 | info: Entering event queue @ 0. Starting simulation... 13 | Exiting @ tick 5144274809000 because m5_exit instruction encountered 14 | -------------------------------------------------------------------------------- /tests/long/fs/10.linux-boot/ref/x86/linux/pc-simple-timing-ruby-MESI_Two_Level/simerr: -------------------------------------------------------------------------------- 1 | warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (128 Mbytes) 2 | warn: Sockets disabled, not accepting terminal connections 3 | warn: Sockets disabled, not accepting gdb connections 4 | warn: Reading current count from inactive timer. 5 | warn: Replacement policy updates recently became the responsibility of SLICC state machines. Make sure to setMRU() near callbacks in .sm files! 6 | warn: Don't know what interrupt to clear for console. 7 | warn: x86 cpuid: unknown family 0x8086 8 | warn: instruction 'wbinvd' unimplemented 9 | warn: instruction 'wbinvd' unimplemented 10 | warn: x86 cpuid: unknown family 0x8086 11 | hack: Assuming logical destinations are 1 << id. 12 | warn: Tried to clear PCI interrupt 14 13 | warn: Unknown mouse command 0xe1. 14 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/x86/linux/pc-simple-atomic/simout: -------------------------------------------------------------------------------- 1 | gem5 Simulator System. http://gem5.org 2 | gem5 is copyrighted software; use the --copyright option for details. 3 | 4 | gem5 compiled Jan 21 2016 14:41:03 5 | gem5 started Jan 21 2016 14:41:54 6 | gem5 executing on zizzer, pid 17910 7 | command line: build/X86/gem5.opt -d build/X86/tests/opt/quick/fs/10.linux-boot/x86/linux/pc-simple-atomic -re /z/atgutier/gem5/gem5-commit/tests/run.py build/X86/tests/opt/quick/fs/10.linux-boot/x86/linux/pc-simple-atomic 8 | 9 | Global frequency set at 1000000000000 ticks per second 10 | info: kernel located at: /dist/m5/system/binaries/x86_64-vmlinux-2.6.22.9 11 | 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 12 | info: Entering event queue @ 0. Starting simulation... 13 | Exiting @ tick 5112152301500 because m5_exit instruction encountered 14 | -------------------------------------------------------------------------------- /tests/quick/fs/10.linux-boot/ref/x86/linux/pc-simple-timing/simout: -------------------------------------------------------------------------------- 1 | gem5 Simulator System. http://gem5.org 2 | gem5 is copyrighted software; use the --copyright option for details. 3 | 4 | gem5 compiled Jan 21 2016 14:41:03 5 | gem5 started Jan 21 2016 14:41:53 6 | gem5 executing on zizzer, pid 17907 7 | command line: build/X86/gem5.opt -d build/X86/tests/opt/quick/fs/10.linux-boot/x86/linux/pc-simple-timing -re /z/atgutier/gem5/gem5-commit/tests/run.py build/X86/tests/opt/quick/fs/10.linux-boot/x86/linux/pc-simple-timing 8 | 9 | Global frequency set at 1000000000000 ticks per second 10 | info: kernel located at: /dist/m5/system/binaries/x86_64-vmlinux-2.6.22.9 11 | 0: rtc: Real-time clock set to Sun Jan 1 00:00:00 2012 12 | info: Entering event queue @ 0. Starting simulation... 13 | Exiting @ tick 5194947216500 because m5_exit instruction encountered 14 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/md/i386_b.s: -------------------------------------------------------------------------------- 1 | /* 2 | // QuickThreads -- Threads-building toolkit. 3 | // Copyright (c) 1993 by David Keppel 4 | // 5 | // Permission to use, copy, modify and distribute this software and 6 | // its documentation for any purpose and without fee is hereby 7 | // granted, provided that the above copyright notice and this notice 8 | // appear in all copies. This software is provided as a 9 | // proof-of-concept and for demonstration purposes; there is no 10 | // representation about the suitability of this software for any 11 | // purpose. */ 12 | 13 | .globl _b_call_reg 14 | .globl b_call_reg 15 | .globl _b_call_imm 16 | .globl b_call_imm 17 | .globl _b_add 18 | .globl b_add 19 | .globl _b_load 20 | .globl b_load 21 | 22 | _b_call_reg: 23 | b_call_reg: 24 | _b_call_imm: 25 | b_call_imm: 26 | _b_add: 27 | b_add: 28 | _b_load: 29 | b_load: 30 | hlt 31 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/time/prim: -------------------------------------------------------------------------------- 1 | #! /bin/awk -f 2 | 3 | BEGIN { 4 | purpose = "report times for microbenchmarks" 5 | 6 | nmach = 0; 7 | 8 | test_callind = "18"; 9 | test_callimm = "18"; 10 | test_addreg = "20"; 11 | test_loadreg = "21"; 12 | } 13 | 14 | { 15 | mach = $1 16 | test = $2 17 | iter = $3 18 | time = $6 + $8 19 | 20 | if (machi[mach] == 0) { 21 | machn[nmach] = mach; 22 | machi[mach] = 1; 23 | ++nmach; 24 | } 25 | 26 | ns_per_op = time / iter * 1000000 27 | times[mach "_" test] = ns_per_op; 28 | } 29 | 30 | 31 | END { 32 | for (i=0; i /proc/sys/net/ipv4/tcp_timestamps 10 | echo "0" > /proc/sys/net/ipv4/tcp_sack 11 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem 12 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem 13 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem 14 | echo "262143" > /proc/sys/net/core/rmem_max 15 | echo "262143" > /proc/sys/net/core/wmem_max 16 | echo "262143" > /proc/sys/net/core/rmem_default 17 | echo "262143" > /proc/sys/net/core/wmem_default 18 | echo "262143" > /proc/sys/net/core/optmem_max 19 | echo "100000" > /proc/sys/net/core/netdev_max_backlog 20 | 21 | echo -n "waiting for server..." 22 | netcat -c -l -p 8000 23 | 24 | ping -c 5 $SERVER 25 | /sbin/m5 exit 26 | -------------------------------------------------------------------------------- /ext/pybind11/docs/index.rst: -------------------------------------------------------------------------------- 1 | .. only: not latex 2 | 3 | .. image:: pybind11-logo.png 4 | 5 | pybind11 --- Seamless operability between C++11 and Python 6 | ========================================================== 7 | 8 | .. only: not latex 9 | 10 | Contents: 11 | 12 | .. toctree:: 13 | :maxdepth: 1 14 | 15 | intro 16 | changelog 17 | 18 | .. toctree:: 19 | :caption: The Basics 20 | :maxdepth: 2 21 | 22 | basics 23 | classes 24 | compiling 25 | 26 | .. toctree:: 27 | :caption: Advanced Topics 28 | :maxdepth: 2 29 | 30 | advanced/functions 31 | advanced/classes 32 | advanced/exceptions 33 | advanced/smart_ptrs 34 | advanced/cast/index 35 | advanced/pycpp/index 36 | advanced/misc 37 | 38 | .. toctree:: 39 | :caption: Extra Information 40 | :maxdepth: 1 41 | 42 | faq 43 | benchmark 44 | limitations 45 | reference 46 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/minor-timing/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing/simout 2 | Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled May 31 2017 18:33:59 7 | gem5 started May 31 2017 18:34:12 8 | gem5 executing on boldrock, pid 15707 9 | command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/minor-timing --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/minor-timing 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | Hello world! 13 | Exiting @ tick 41515000 because exiting with last active thread context 14 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/simple-atomic/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic/simout 2 | Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled May 31 2017 18:33:59 7 | gem5 started May 31 2017 18:34:14 8 | gem5 executing on boldrock, pid 15724 9 | command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-atomic --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-atomic 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | Hello world! 13 | Exiting @ tick 2783000 because exiting with last active thread context 14 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/riscv/linux/simple-timing/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing/simout 2 | Redirecting stderr to build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled May 31 2017 18:33:59 7 | gem5 started May 31 2017 18:34:14 8 | gem5 executing on boldrock, pid 15728 9 | command line: /home/ar4jc/gem5/build/RISCV/gem5.debug -d build/RISCV/tests/debug/quick/se/00.hello/riscv/linux/simple-timing --stats-file 'text://stats.txt?desc=False' -re /home/ar4jc/gem5/tests/testing/../run.py quick/se/00.hello/riscv/linux/simple-timing 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | Hello world! 13 | Exiting @ tick 34045500 because exiting with last active thread context 14 | -------------------------------------------------------------------------------- /tests/quick/se/70.tgen/ref/null/none/tgen-dram-ctrl/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/NULL/tests/opt/quick/se/70.tgen/null/none/tgen-dram-ctrl/simout 2 | Redirecting stderr to build/NULL/tests/opt/quick/se/70.tgen/null/none/tgen-dram-ctrl/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled Oct 13 2016 20:37:50 7 | gem5 started Oct 13 2016 20:38:05 8 | gem5 executing on e108600-lin, pid 342 9 | command line: /work/curdun01/gem5-external.hg/build/NULL/gem5.opt -d build/NULL/tests/opt/quick/se/70.tgen/null/none/tgen-dram-ctrl -re /work/curdun01/gem5-external.hg/tests/testing/../run.py quick/se/70.tgen/null/none/tgen-dram-ctrl 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | info: Entering event queue @ 0. Starting simulation... 13 | Exiting @ tick 100000000000 because simulate() limit reached 14 | -------------------------------------------------------------------------------- /ext/dnet/rand.h: -------------------------------------------------------------------------------- 1 | /* 2 | * rand.h 3 | * 4 | * Pseudo-random number generation, based on OpenBSD arc4random(). 5 | * 6 | * Copyright (c) 2000 Dug Song 7 | * Copyright (c) 1996 David Mazieres 8 | * 9 | * $Id: rand.h,v 1.4 2002/04/07 19:01:25 dugsong Exp $ 10 | */ 11 | 12 | #ifndef DNET_RAND_H 13 | #define DNET_RAND_H 14 | 15 | typedef struct rand_handle rand_t; 16 | 17 | __BEGIN_DECLS 18 | rand_t *rand_open(void); 19 | 20 | int rand_get(rand_t *r, void *buf, size_t len); 21 | int rand_set(rand_t *r, const void *seed, size_t len); 22 | int rand_add(rand_t *r, const void *buf, size_t len); 23 | 24 | uint8_t rand_uint8(rand_t *r); 25 | uint16_t rand_uint16(rand_t *r); 26 | uint32_t rand_uint32(rand_t *r); 27 | 28 | int rand_shuffle(rand_t *r, void *base, size_t nmemb, size_t size); 29 | 30 | rand_t *rand_close(rand_t *r); 31 | __END_DECLS 32 | 33 | #endif /* DNET_RAND_H */ 34 | -------------------------------------------------------------------------------- /tests/quick/se/60.rubytest/ref/null/none/rubytest-ruby/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/ALPHA/tests/opt/quick/se/60.rubytest/alpha/linux/rubytest-ruby/simout 2 | Redirecting stderr to build/ALPHA/tests/opt/quick/se/60.rubytest/alpha/linux/rubytest-ruby/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled Oct 11 2016 00:00:58 7 | gem5 started Oct 13 2016 20:19:45 8 | gem5 executing on e108600-lin, pid 28072 9 | command line: /work/curdun01/gem5-external.hg/build/ALPHA/gem5.opt -d build/ALPHA/tests/opt/quick/se/60.rubytest/alpha/linux/rubytest-ruby -re /work/curdun01/gem5-external.hg/tests/testing/../run.py quick/se/60.rubytest/alpha/linux/rubytest-ruby 10 | 11 | Global frequency set at 1000000000 ticks per second 12 | info: Entering event queue @ 0. Starting simulation... 13 | Exiting @ tick 39431 because Ruby Tester completed 14 | -------------------------------------------------------------------------------- /ext/dnet/udp.h: -------------------------------------------------------------------------------- 1 | /* 2 | * udp.h 3 | * 4 | * User Datagram Protocol (RFC 768). 5 | * 6 | * Copyright (c) 2000 Dug Song 7 | * 8 | * $Id: udp.h,v 1.8 2002/04/02 05:05:39 dugsong Exp $ 9 | */ 10 | 11 | #ifndef DNET_UDP_H 12 | #define DNET_UDP_H 13 | 14 | #define UDP_HDR_LEN 8 15 | 16 | struct udp_hdr { 17 | uint16_t uh_sport; /* source port */ 18 | uint16_t uh_dport; /* destination port */ 19 | uint16_t uh_ulen; /* udp length (including header) */ 20 | uint16_t uh_sum; /* udp checksum */ 21 | }; 22 | 23 | #define UDP_PORT_MAX 65535 24 | 25 | #define udp_pack_hdr(hdr, sport, dport, ulen) do { \ 26 | struct udp_hdr *udp_pack_p = (struct udp_hdr *)(hdr); \ 27 | udp_pack_p->uh_sport = htons(sport); \ 28 | udp_pack_p->uh_dport = htons(dport); \ 29 | udp_pack_p->uh_ulen = htons(ulen); \ 30 | } while (0) 31 | 32 | #endif /* DNET_UDP_H */ 33 | -------------------------------------------------------------------------------- /ext/ply/test/lex_state_try.py: -------------------------------------------------------------------------------- 1 | # lex_state_try.py 2 | # 3 | # Declaration of a state for which no rules are defined 4 | 5 | import sys 6 | if ".." not in sys.path: sys.path.insert(0,"..") 7 | 8 | import ply.lex as lex 9 | 10 | tokens = [ 11 | "PLUS", 12 | "MINUS", 13 | "NUMBER", 14 | ] 15 | 16 | states = (('comment', 'exclusive'),) 17 | 18 | t_PLUS = r'\+' 19 | t_MINUS = r'-' 20 | t_NUMBER = r'\d+' 21 | 22 | t_ignore = " \t" 23 | 24 | # Comments 25 | def t_comment(t): 26 | r'/\*' 27 | t.lexer.begin('comment') 28 | print("Entering comment state") 29 | 30 | def t_comment_body_part(t): 31 | r'(.|\n)*\*/' 32 | print("comment body %s" % t) 33 | t.lexer.begin('INITIAL') 34 | 35 | def t_error(t): 36 | pass 37 | 38 | t_comment_error = t_error 39 | t_comment_ignore = t_ignore 40 | 41 | lex.lex() 42 | 43 | data = "3 + 4 /* This is a comment */ + 10" 44 | 45 | lex.runmain(data=data) 46 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/time/go: -------------------------------------------------------------------------------- 1 | #! /bin/awk -f 2 | 3 | BEGIN { 4 | purpose = "report times used for init/start/stop"; 5 | 6 | nmach = 0; 7 | 8 | test_single = "6"; 9 | test_v0 = "10"; 10 | test_v2 = "11"; 11 | test_v4 = "12"; 12 | test_v8 = "13"; 13 | } 14 | 15 | { 16 | mach = $1 17 | test = $2 18 | iter = $3 19 | time = $6 + $8 20 | 21 | if (machi[mach] == 0) { 22 | machn[nmach] = mach; 23 | machi[mach] = 1; 24 | ++nmach; 25 | } 26 | 27 | us_per_op = time / iter * 1000000 28 | times[mach "_" test] = us_per_op; 29 | } 30 | 31 | 32 | END { 33 | for (i=0; i /proc/sys/net/ipv4/tcp_timestamps 10 | echo "0" > /proc/sys/net/ipv4/tcp_sack 11 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_rmem 12 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_wmem 13 | echo "5000000 5000000 5000000" > /proc/sys/net/ipv4/tcp_mem 14 | echo "262143" > /proc/sys/net/core/rmem_max 15 | echo "262143" > /proc/sys/net/core/wmem_max 16 | echo "262143" > /proc/sys/net/core/rmem_default 17 | echo "262143" > /proc/sys/net/core/wmem_default 18 | echo "262143" > /proc/sys/net/core/optmem_max 19 | echo "100000" > /proc/sys/net/core/netdev_max_backlog 20 | 21 | echo -n "signal client to begin..." 22 | echo "server ready" | netcat -c $CLIENT 8000 23 | echo "done." 24 | 25 | echo "starting bash..." 26 | exec /bin/bash 27 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/arm/linux/o3-timing/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/ARM/tests/opt/quick/se/00.hello/arm/linux/o3-timing/simout 2 | Redirecting stderr to build/ARM/tests/opt/quick/se/00.hello/arm/linux/o3-timing/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled Apr 3 2017 17:55:48 7 | gem5 started Apr 3 2017 18:08:17 8 | gem5 executing on gabeblack-desktop.mtv.corp.google.com, pid 55753 9 | command line: /usr/local/google/home/gabeblack/gem5/gem5-public/build/ARM/gem5.opt -d build/ARM/tests/opt/quick/se/00.hello/arm/linux/o3-timing --stats-file 'text://stats.txt?desc=False' -re /usr/local/google/home/gabeblack/gem5/gem5-public/tests/testing/../run.py quick/se/00.hello/arm/linux/o3-timing 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | Hello world! 13 | Exiting @ tick 20302000 because exiting with last active thread context 14 | -------------------------------------------------------------------------------- /tests/quick/se/00.hello/ref/x86/linux/o3-timing/simout: -------------------------------------------------------------------------------- 1 | Redirecting stdout to build/X86/tests/opt/quick/se/00.hello/x86/linux/o3-timing/simout 2 | Redirecting stderr to build/X86/tests/opt/quick/se/00.hello/x86/linux/o3-timing/simerr 3 | gem5 Simulator System. http://gem5.org 4 | gem5 is copyrighted software; use the --copyright option for details. 5 | 6 | gem5 compiled Apr 3 2017 19:05:53 7 | gem5 started Apr 3 2017 19:06:21 8 | gem5 executing on gabeblack-desktop.mtv.corp.google.com, pid 87180 9 | command line: /usr/local/google/home/gabeblack/gem5/gem5-public/build/X86/gem5.opt -d build/X86/tests/opt/quick/se/00.hello/x86/linux/o3-timing --stats-file 'text://stats.txt?desc=False' -re /usr/local/google/home/gabeblack/gem5/gem5-public/tests/testing/../run.py quick/se/00.hello/x86/linux/o3-timing 10 | 11 | Global frequency set at 1000000000000 ticks per second 12 | Hello world! 13 | Exiting @ tick 22516500 because exiting with last active thread context 14 | -------------------------------------------------------------------------------- /ext/systemc/src/sysc/qt/time/assim: -------------------------------------------------------------------------------- 1 | #! /bin/awk -f 2 | 3 | BEGIN { 4 | nmach = 0; 5 | 6 | init_test = "1"; 7 | abort_test = "6"; 8 | blocki_test = "7"; 9 | block_test = "8"; 10 | } 11 | 12 | { 13 | mach = $1 14 | test = $2 15 | iter = $3 16 | time = $6 + $8 17 | 18 | if (machi[mach] == 0) { 19 | machn[nmach] = mach; 20 | machi[mach] = 1; 21 | ++nmach; 22 | } 23 | 24 | us_per_op = time / iter * 1000000 25 | times[mach "_" test] = us_per_op; 26 | } 27 | 28 | 29 | END { 30 | for (i=0; i