瀏覽代碼

+ Add .cpXXX pseudo-instruction for PIC code

git-svn-id: trunk@21772 -
pierre 13 年之前
父節點
當前提交
87b6bb5053
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 3 0
      compiler/mips/opcode.inc
  2. 3 0
      compiler/mips/strinst.inc

+ 3 - 0
compiler/mips/opcode.inc

@@ -9,6 +9,9 @@ A_P_FRAME,
 A_P_MASK,
 A_P_FMASK,
 A_P_SW,
+A_P_CPLOAD,
+A_P_CPRESTORE,
+A_P_CPADD,
 A_SPARC8UNIMP,
 A_NOP,
 A_NOT,

+ 3 - 0
compiler/mips/strinst.inc

@@ -9,6 +9,9 @@
 '.mask',
 '.fmask',
 'p_sw',
+'.cpload',
+'.cprestore',
+'.cpadd',
 'sparc8unimp',
 'nop',
 'not',