9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] patch/5l-div-cond
@ 2013-05-08 20:09 cinap_lenrek
  2013-05-08 21:12 ` Richard Miller
  0 siblings, 1 reply; 2+ messages in thread
From: cinap_lenrek @ 2013-05-08 20:09 UTC (permalink / raw)
  To: 9fans

the patch carries over the condition flags into all
the emulated instructions in the linker.

i dont think this will work as intended because after returning
from _div, the condition flags should have been modified no?

or does BL somehow preserve the flags?

i'm no arm expert...

--
cinap



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] patch/5l-div-cond
  2013-05-08 20:09 [9fans] patch/5l-div-cond cinap_lenrek
@ 2013-05-08 21:12 ` Richard Miller
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Miller @ 2013-05-08 21:12 UTC (permalink / raw)
  To: 9fans

>> i dont think this will work as intended because after returning
> from _div, the condition flags should have been modified no?

Yes of course, what was I thinking?  I'll delete the patch and
think again.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-08 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-08 20:09 [9fans] patch/5l-div-cond cinap_lenrek
2013-05-08 21:12 ` Richard Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).