]> git.sur5r.net Git - openocd/commit
aarch64: optimize core state detection
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Tue, 15 Nov 2016 21:10:03 +0000 (22:10 +0100)
committerPaul Fertser <fercerpav@gmail.com>
Fri, 24 Feb 2017 09:13:10 +0000 (09:13 +0000)
commit7ed0b6333ded06f1e517d7fd3e15a400c98dc357
treee69ac77778c9d5e5b1755dc6c708e0b3f51fdefc
parentfa8700cdd58752671fb8d60ef65bf767e4aa1bc5
aarch64: optimize core state detection

Replace loop by right-shift.
Inspired by patch from Alamy Liu

Change-Id: I1285f4f54c0695a93fa42e9863ed8ffa4de00f70
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
Reviewed-on: http://openocd.zylin.com/3985
Tested-by: jenkins
Reviewed-by: Paul Fertser <fercerpav@gmail.com>
src/target/armv8_dpm.c