Andes Workshop

It is currently Fri Mar 29, 2024 3:01 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: optimization時,避免code順序被改掉的方法(20120316更新)
PostPosted: Thu Sep 15, 2011 4:02 pm 
Offline
User avatar

Joined: Fri Mar 04, 2011 9:36 pm
Posts: 500
如果不要讓optimization改變程式碼的順序,
可以加2個options
-fno-schedule-insns -fno-schedule-insns2
Attachment:
insn.gif
insn.gif [ 14.1 KiB | Viewed 7145 times ]

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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group