mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-10 08:03:04 -04:00
A test plugin that measures what ARM instructions cost on the running device. Each row times sixteen copies of one instruction in a loop and subtracts the empty loop, giving cycles per instruction. Where plugins get IRAM, each row is run with code and data in each combination of IRAM and DRAM. It covers ALU, shifts, branches, the load and store forms (including halfword and register-offset loads), load-use, and the multiplier at narrow and full-width operands. ARMv5 adds the DSP multiplies, clz, qadd, ldrd/strd and pld; ARMv6 adds the top-word and dual 16-bit multiplies, umaal, ssat, rev, the extends, pkhbt, the SIMD adds and multiply result latency. Cache misses are priced by a pointer chase and by sequential streams over working sets either side of the cache. Timing uses the SoC's microsecond counter on PP502x, PP5002, S5L870x, S5L8720, TCC7801 and i.MX233, and the tick elsewhere. Results go to the screen and to /test_cyc.txt. Built only with test plugins enabled, on native ARM targets that run ARM code (not Cortex-M). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Change-Id: I4a41f6daaa27fb817f411de89901a117c5c70f4d
212 lines
3.3 KiB
Text
212 lines
3.3 KiB
Text
2048,games
|
|
alpine_cdc,apps
|
|
alarmclock,apps
|
|
announce_status,demos
|
|
amaze,games
|
|
autostart,apps
|
|
battery_bench,apps
|
|
bench_scaler,apps
|
|
blackjack,games
|
|
bmp,viewers
|
|
boomshine,games
|
|
bounce,demos
|
|
brickmania,games
|
|
bubbles,games
|
|
calculator,apps
|
|
calendar,apps
|
|
chessbox,games
|
|
chessclock,apps
|
|
chip8,viewers
|
|
chopper,games
|
|
clix,games
|
|
clock,apps
|
|
codebuster,games
|
|
countdown_timer,apps
|
|
credits,viewers
|
|
cube,demos
|
|
cue_playlist,viewers
|
|
dart_scorer,apps
|
|
db_commit,apps
|
|
db_folder_select,viewers
|
|
demystify,demos
|
|
dice,games
|
|
dict,apps
|
|
disktidy,apps
|
|
doom,games
|
|
duke3d,games
|
|
euroconverter,apps
|
|
fft,demos
|
|
file_picker,viewers
|
|
fire,demos
|
|
fireworks,demos
|
|
firmware_flash,apps
|
|
flipit,games
|
|
frotz,viewers
|
|
goban,games
|
|
greyscale,demos
|
|
helloworld,demos
|
|
imageviewer,viewers
|
|
invadrox,games
|
|
iriver_flash,apps
|
|
iriverify,viewers
|
|
jackpot,games
|
|
jewels,games
|
|
jpeg,viewers
|
|
jpegp,viewers
|
|
keybox,apps
|
|
keyremap,apps
|
|
lamp,apps
|
|
lastfm_scrobbler,apps
|
|
lastfm_scrobbler_viewer,viewers
|
|
logo,demos
|
|
lrcplayer,apps
|
|
lua,viewers
|
|
fractals,demos
|
|
main_menu_config,apps
|
|
matrix,demos
|
|
maze,games
|
|
mazezam,games
|
|
md5sum,apps
|
|
mem_mon,apps
|
|
metronome,apps
|
|
midi2wav,viewers
|
|
midi,viewers
|
|
mikmod,viewers
|
|
minesweeper,games
|
|
mosaique,demos
|
|
mp3_encoder,apps
|
|
mpegplayer,viewers
|
|
multiboot_select,apps
|
|
nim,games
|
|
open_plugins,viewers
|
|
oscilloscope,demos
|
|
otp,apps
|
|
pacbox,games
|
|
pdbox,viewers
|
|
pegbox,games
|
|
periodic_table,apps
|
|
picross,games
|
|
pictureflow,demos
|
|
pitch_detector,apps
|
|
pitch_screen,viewers
|
|
pixel-painter,games
|
|
plasma,demos
|
|
playing_time,apps
|
|
png,viewers
|
|
gif,viewers
|
|
pong,games
|
|
ppm,viewers
|
|
properties,viewers
|
|
quake,games
|
|
random_folder_advance_config,apps
|
|
rb_info,demos
|
|
remote_control,apps
|
|
resistor,apps
|
|
reversi,games
|
|
robotfindskitten,games
|
|
rockblox,games
|
|
rockblox1d,games
|
|
rockbox_flash,viewers
|
|
rockboy,viewers
|
|
rocklife,demos
|
|
rockpaint,apps
|
|
search,viewers
|
|
searchengine,viewers
|
|
settings_dumper,apps
|
|
sgt-blackbox,games
|
|
sgt-bridges,games
|
|
sgt-cube,games
|
|
sgt-dominosa,games
|
|
sgt-fifteen,games
|
|
sgt-filling,games
|
|
sgt-flip,games
|
|
sgt-flood,games
|
|
sgt-galaxies,games
|
|
sgt-group,games
|
|
sgt-guess,games
|
|
sgt-inertia,games
|
|
sgt-keen,games
|
|
sgt-lightup,games
|
|
sgt-loopy,games
|
|
sgt-magnets,games
|
|
sgt-map,games
|
|
sgt-mines,games
|
|
sgt-mosaic,games
|
|
sgt-net,games
|
|
sgt-netslide,games
|
|
sgt-palisade,games
|
|
sgt-pattern,games
|
|
sgt-pearl,games
|
|
sgt-pegs,games
|
|
sgt-puzzles,games
|
|
sgt-range,games
|
|
sgt-rect,games
|
|
sgt-samegame,games
|
|
sgt-separate,games
|
|
sgt-signpost,games
|
|
sgt-singles,games
|
|
sgt-sixteen,games
|
|
sgt-slant,games
|
|
sgt-slide,games
|
|
sgt-sokoban,games
|
|
sgt-solo,games
|
|
sgt-tents,games
|
|
sgt-towers,games
|
|
sgt-tracks,games
|
|
sgt-twiddle,games
|
|
sgt-undead,games
|
|
sgt-unequal,games
|
|
sgt-unruly,games
|
|
sgt-untangle,games
|
|
shopper,viewers
|
|
shortcuts_append,viewers
|
|
shortcuts_view,viewers
|
|
sliding_puzzle,games
|
|
snake,games
|
|
snake2,games
|
|
snow,demos
|
|
sokoban,games
|
|
solitaire,games
|
|
sort,viewers
|
|
spacerocks,games
|
|
splitedit,apps
|
|
speedread,viewers
|
|
star,games
|
|
starfield,demos
|
|
stats,apps
|
|
stopwatch,apps
|
|
sudoku,games
|
|
test_boost,apps
|
|
test_mem,apps
|
|
test_codec,viewers
|
|
test_cyc,apps
|
|
test_disk,apps
|
|
test_fps,apps
|
|
test_grey,apps
|
|
test_gfx,apps
|
|
test_kbd,apps
|
|
test_resize,apps
|
|
test_sampr,apps
|
|
test_scanrate,apps
|
|
test_touchscreen,apps
|
|
test_usb,apps
|
|
test_viewports,apps
|
|
test_greylib_bitmap_scale,viewers
|
|
text_editor,apps
|
|
text_viewer,viewers
|
|
theme_remove,viewers
|
|
vbrfix,viewers
|
|
video,viewers
|
|
viewer,viewers
|
|
vu_meter,demos
|
|
wav2wv,viewers
|
|
wavplay,viewers
|
|
wavrecord,apps
|
|
wavview,viewers
|
|
wolf3d,games
|
|
wormlet,games
|
|
xobox,games
|
|
xrick,games
|
|
xworld,games
|
|
zxbox,viewers
|
|
view_text,viewers
|