Journal of Shanghai Jiaotong University ›› 2013, Vol. 47 ›› Issue (07): 1065-1071.

• Automation Technique, Computer Technology • Previous Articles     Next Articles

Instruction-level Acceleration for Drawing Operations of Android System Based on Domestic Unicore Architecture

LING Ming,WU Jianping,WANG Mengmeng
  

  1. (National ASIC System Engineering Research Center, Southeast University, Nanjing 210096, China)
  • Received:2012-07-02 Online:2013-07-30 Published:2013-07-30

Abstract:

The bionic C library and the graphic system of the Android system were analyzed in this paper. It was found that the memory filling operations of the system took lots of time, so did the alpha compositing operations. The Unicore architecture could achieve better performance when accessing to 32 bytes aligned memory. The assembly language optimization approach was used to optimize the memory filling operation. The characteristics of concurrent operation of the SIMD (Single Instruction Multiple Data) co-processor were utilized to optimize the alpha compositing operation, which could finish the composition in processing several pixels simultaneously. The canvas filling operation was improved by 17% on average and up to 44% in the experiments for 0xbench after implemented with the mentioned assembly optimization approach. The bitmap drawing operation in 0xbench was accelerated by 34% on average assisted by  the mentioned  SIMD accelerated scheme and assembly optimization methods.
 

Key words: instruction-level optimization, Android system, Unicore architecture, graphic system, Skia library

CLC Number: