Main »

Test programs


edit SideBar

Project Test Programs

All programs can also be accessed through the file system at this path:

  /u/k/a/karu/courses/cs552/fall2020/handouts/testprograms/public/*/*.asm

As you progress further, the number of tests that you will be expected to pass will increase. With each iteration, all prior tests are expected to continue to pass as well as the additional tests for that demo stage.


1.  Tests for Demo #1

1.1  Simple Tests (testprograms/public/inst_tests)

These tests target each instruction individually and use a minimal number of other instructions to test their behavior. Copy the *.asm file named for the instruction from: /u/k/a/karu/courses/cs552/fall2020/handouts/testprograms/public/inst_tests/

A list file with all the program names on a line: all.list; or from here: /u/k/a/karu/courses/cs552/fall2020/handouts/testprograms/public/inst_tests/all.list

See the usage of -list option to run all the tests in a category in a single run and produce a .summary.log report.

1.2  Complex Tests for Demo #1 (testprograms/public/complex_demo1)

A list file with all the program names on a line: all.list; or from here: /u/k/a/karu/courses/cs552/fall2020/handouts/testprograms/public/complex_demo1/all.list.

  1. branchTest.asm
  2. easyTest.asm
  3. firstTest.asm
  4. loadStoreTest.asm
  5. shiftTest.asm

1.3  Random Tests for Demo #1

  • rand_simple: A set of randomized single instruction tests
    • Path: ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_simple/*.asm
    • List:
      • ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_simple/all.list
      • all.list
  • rand_complex: A set of randomized multiple instruction tests
    • Path: ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_complex/*.asm
    • List:
      • ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_complex/all.list
      • all.list
  • rand_ctrl: A set of randomized control-intensive instruction tests
    • Path: ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_ctrl/*.asm
    • List:
      • ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_ctrl/all.list
      • all.list
  • rand_mem: A set of randomized memory-intensive instruction tests
    • Path: ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_mem/*.asm
    • List:
      • ~karu/courses/cs552/fall2020/handouts/testprograms/public/rand_mem/all.list
      • all.list

2.  Additional Tests for Demo #2

Remember that all tests for demo 1 are still required.

2.1  Complex Tests for Demo #2 (testprograms/public/complex_demo2)

A list file with all the program names on a line: all.list; or from here: /u/k/a/karu/courses/cs552/fall2020/handouts/testprograms/public/complex_demo2/all.list.

  1. pipeTest.asm
  2. stallTest.asm
  3. alignTest.asm
  4. perf-test-dep-all.asm
  5. perf-test-dep-ld.asm
  6. perf-test-dep-ldst.asm
  7. perf-test-dep-waw.asm
  8. perf-test-dep-zero.asm

Page last modified on October 03, 2020, visited times

Edit - History - Print - Recent Changes (All) - Search