add mips64 port

patch by Mahesh Bodapati and Jaydeep Patil of Imagination
Technologies.
47 files changed