The return type is the same as the operand type 返回類型與操作數(shù)類型相同。
The acceptable operand types are encapsulated below 下面概括了可接受的操作數(shù)類型:
On the same operand types you want to use for 的同一操作數(shù)類型上定義了
The operand type of an msil instruction Msil指令的操作數(shù)類型。
The acceptable operand types and their corresponding result data type are listed in the table below 下表列出了可接受的操作數(shù)類型及其相應(yīng)的結(jié)果數(shù)據(jù)類型。
Based on these two factors mentioned above and the difficulty to implement in c compiler , this paper proposed a method of modifying operand type by inserting instruction lw or sw at assemble level as well as instruction scheduling . therefore , this can generate effective parallel instructions and correspondingly improve the performance and density of object code 本文在分析了上述兩個(gè)限制并行指令生成的主要因素以及很難在編譯器中實(shí)現(xiàn)并行指令生成的基礎(chǔ)上,提出了在匯編級(jí)檢查指令的操作數(shù)類型,通過插入lw或sw指令來改變操作數(shù)類型及指令調(diào)度的方法,能夠有效的生成并行指令,提高了代碼運(yùn)行效率和代碼密度。
In retargetable c compiler , all instructions , including parallel instructions , are generated through instruction pattern matching , which is very difficult to generate effective parallel instructions . meanwhile operand type required by parallel instructions is another important factor to restrict generating parallel instructions 在可重定目標(biāo)編譯器中,通過指令模板匹配生成目標(biāo)代碼的方式限制了高效的并行指令的生成,同時(shí),并行指令的操作數(shù)類型與單操作指令的要求不一致也是限制并行指令生成的一個(gè)重要因素。