Home | History | Annotate | Download | only in mips
      1 
      2     ; Test case for assembler option "itbl".
      3     ; Run as "as --itbl itbl itbl.s"
      4     ; or with stand-alone test case "itbl-test itbl itbl.s".
      5 
      6     ; Call mips coprocessor "cofun"s as defined in "itbl".
      7 
      8     fee $d3,$c2,0x1 	;  0x4ff07601
      9     fie 	  	;  0x4ff00000
     10     foh $2,0x100
     11     fum $d3,$c2     	;  0x4ff07601
     12     pig $2,0x100
     13 
     14     ; Call a mips coprocessor instruction with register "d1"
     15     ; defined in "itbl".
     16 
     17     LWC1 $d1,0x100($2)
     18 
     19