aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/linux-gputest/files/fix-logfile-path.crk
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/linux-gputest/files/fix-logfile-path.crk')
-rw-r--r--benchmarks/linux-gputest/files/fix-logfile-path.crk95
1 files changed, 95 insertions, 0 deletions
diff --git a/benchmarks/linux-gputest/files/fix-logfile-path.crk b/benchmarks/linux-gputest/files/fix-logfile-path.crk
new file mode 100644
index 000000000000..6a6e1482a2f3
--- /dev/null
+++ b/benchmarks/linux-gputest/files/fix-logfile-path.crk
@@ -0,0 +1,95 @@
+; GpuTest is not cwd-agnostic and must be run in ${PREFIX}/lib/${PORTNAME}
+; where it looks for resources and writes its logfile. Change the logfile
+; location to user-writable directory (/tmp) and shift a couple of strings
+; to make the room for other changes.
+
+GpuTest
+
+00036FE0: 5F 2F
+00036FE1: 67 74
+00036FE2: 65 6D
+00036FE3: 65 70
+00036FE4: 6B 2F
+00036FE5: 73 5F
+00036FE6: 33 67
+00036FE7: 64 65
+00036FE8: 5F 65
+00036FE9: 67 6B
+00036FEA: 70 73
+00036FEB: 75 33
+00036FEC: 74 64
+00036FED: 65 5F
+00036FEE: 73 67
+00036FEF: 74 70
+00036FF0: 5F 75
+00036FF1: 6C 74
+00036FF2: 6F 65
+00036FF3: 67 73
+00036FF4: 2E 74
+00036FF5: 74 2E
+00036FF6: 78 6C
+00036FF7: 74 6F
+00036FF8: 00 67
+
+; "Linux x%d" moves +1 byte (1 reference)
+; 424bbb: be f9 6f 43 00 mov $0x436ff9,%esi
+00024BBC: F9 FA
+
+00036FF9: 4C 00
+00036FFA: 69 4C
+00036FFB: 6E 69
+00036FFC: 75 6E
+00036FFD: 78 75
+00036FFE: 20 78
+00036FFF: 78 20
+00037000: 25 78
+00037001: 64 25
+00037002: 00 64
+
+; "GpuTest" moves +3 bytes (3 references)
+; 424c4b: be 03 70 43 00 mov $0x437003,%esi
+; 424dba: b9 03 70 43 00 mov $0x437003,%ecx
+; 425040: ba 03 70 43 00 mov $0x437003,%edx
+00024C4C: 03 06
+00024DBB: 03 06
+00025041: 03 06
+
+00037003: 47 00
+00037004: 70 00
+00037005: 75 00
+00037006: 54 47
+00037007: 65 70
+00037008: 73 75
+00037009: 74 54
+0003700A: 00 65
+
+; "%s (%s) is starting up..." moves +3 bytes (1 reference)
+; 424d9c: ba 0b 70 43 00 mov $0x43700b,%edx
+00024D9D: 0B 0E
+
+0003700B: 25 73
+0003700C: 73 74
+0003700D: 20 00
+0003700E: 28 25
+0003700F: 25 73
+00037010: 73 20
+00037011: 29 28
+00037012: 20 25
+00037013: 69 73
+00037014: 73 29
+00037016: 73 69
+00037017: 74 73
+00037018: 61 20
+00037019: 72 73
+0003701B: 69 61
+0003701C: 6E 72
+0003701D: 67 74
+0003701E: 20 69
+0003701F: 75 6E
+00037020: 70 67
+00037021: 2E 20
+00037022: 2E 75
+00037023: 2E 70
+00037024: 00 2E
+00037025: 00 2E
+00037026: 00 2E