cleaning up unused code
ppc: cleaning up
arm: fix a bug in getting data from input buffer of Thumb: bail out if not enough data