Skip to content
Snippets Groups Projects
Commit 09cd5661 authored by Salvador's avatar Salvador Committed by Freddie Chopin
Browse files

Speed up mips_m4k_write_memory()


Do not call mips32_cp0_read() if not needed.
This will speed up execution of mips_m4k_write_memory()
by near 2x, with parameter count = 1.

Change-Id: I7829a7802b6475bc6d4ac3f0632d8d239d1072da
Signed-off-by: default avatarSalvador <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/624


Tested-by: jenkins
Reviewed-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
Reviewed-by: default avatarFreddie Chopin <freddie.chopin@gmail.com>
parent 9a8edbfa
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment