Andes Workshop
http://forum.andestech.com/

v2j下要使用madd32的指令?
http://forum.andestech.com/viewtopic.php?f=23&t=175
Page 1 of 1

Author:  cindy [ Fri Oct 21, 2011 12:25 pm ]
Post subject:  v2j下要使用madd32的指令?

v2j下要使用madd32的指令,如果沒有enable DX registers會有問題,
多加一個compiler選項"-mdex-regs"就可以編譯正常。
請看我的設定。
Attachment:
dx.GIF
dx.GIF [ 26.33 KiB | Viewed 6858 times ]

下面是我測試用的code:
Code:
li $r0,0x123
li $r0,0x20
madd32 $d0, $r0,$r1

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/