计算机科学
計算機科學
계산궤과학
COMPUTER SCIENCE
2013年
4期
55-58,77
,共5页
刘飞%陈跃跃%孙海燕%阳柳
劉飛%陳躍躍%孫海燕%暘柳
류비%진약약%손해연%양류
谓词执行%if转换%条件执行%指令级并行%Matrix%VLIW
謂詞執行%if轉換%條件執行%指令級併行%Matrix%VLIW
위사집행%if전환%조건집행%지령급병행%Matrix%VLIW
指令级并行在提高处理器运行速度方面显得越来越重要,if转换技术是一种在处理器支持条件执行的前提下,有助于提高指令级并行度的编译优化技术.在详细分析GCC(GNU Compiler Collection)内部if转换技术的实现机制和算法的基础上,针对matrix体系结构特点,对GCC中现有if转换算法进行了移植与改进,实现了matrix编译器的if转换算法.实验证明,改进后的if转换算法能够更有效地移除分支,减少基本块的数量,扩大单个基本块的范围,有助于编译器生成更加优化的代码.
指令級併行在提高處理器運行速度方麵顯得越來越重要,if轉換技術是一種在處理器支持條件執行的前提下,有助于提高指令級併行度的編譯優化技術.在詳細分析GCC(GNU Compiler Collection)內部if轉換技術的實現機製和算法的基礎上,針對matrix體繫結構特點,對GCC中現有if轉換算法進行瞭移植與改進,實現瞭matrix編譯器的if轉換算法.實驗證明,改進後的if轉換算法能夠更有效地移除分支,減少基本塊的數量,擴大單箇基本塊的範圍,有助于編譯器生成更加優化的代碼.
지령급병행재제고처리기운행속도방면현득월래월중요,if전환기술시일충재처리기지지조건집행적전제하,유조우제고지령급병행도적편역우화기술.재상세분석GCC(GNU Compiler Collection)내부if전환기술적실현궤제화산법적기출상,침대matrix체계결구특점,대GCC중현유if전환산법진행료이식여개진,실현료matrix편역기적if전환산법.실험증명,개진후적if전환산법능구경유효지이제분지,감소기본괴적수량,확대단개기본괴적범위,유조우편역기생성경가우화적대마.