add m8 support

Change-Id: If66fce3bdcf3938bc715ae673ed03ad7bb31fc5f