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

optimization時,避免code順序被改掉的方法(20120316更新)
http://forum.andestech.com/viewtopic.php?f=23&t=143
Page 1 of 1

Author:  cindy [ Thu Sep 15, 2011 4:02 pm ]
Post subject:  optimization時,避免code順序被改掉的方法(20120316更新)

如果不要讓optimization改變程式碼的順序,
可以加2個options
-fno-schedule-insns -fno-schedule-insns2
Attachment:
insn.gif
insn.gif [ 14.1 KiB | Viewed 7200 times ]

上面2個都要加...因為會有2階段可能會對code做重排序。

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