Cleanup glue code in arm implementation

Signed-off-by: Junjie Mao <eternal.n08@gmail.com>
Revert "REVERT ME: Remove ARM implemention from autotest"

This reverts commit 6c1f62c571265b695e72a7dc5f3dc4c22d5b4cdb.