Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/src/MLRISC/ppc/mltree/ppc.sml
ViewVC logotype

Diff of /sml/trunk/src/MLRISC/ppc/mltree/ppc.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1205, Mon May 20 20:18:34 2002 UTC revision 1273, Thu Oct 10 17:13:35 2002 UTC
# Line 611  Line 611 
611             | T.MULS(32, e1, e2) => multiply(32,I.MULLW,I.MULLI,             | T.MULS(32, e1, e2) => multiply(32,I.MULLW,I.MULLI,
612                                              Muls32.multiply,e1,e2,rt,an)                                              Muls32.multiply,e1,e2,rt,an)
613             | T.DIVS(T.DIV_TO_ZERO, 32, e1, e2) =>             | T.DIVS(T.DIV_TO_ZERO, 32, e1, e2) =>
614                                     divide(32,I.DIVW,divs32,e1,e2,rt,false,an)                 (* On the PPC we turn overflow checking on despite this
615                    * being DIVS.  That's because divide-by-zero is also
616                    * indicated through "overflow" instead of causing a trap. *)
617                                       divide(32,I.DIVW,divs32,e1,e2,rt,
618                                              true (* !! *),
619                                              an)
620    
621             | T.ADDT(32, e1, e2) => arithTrapping(I.ADD, e1, e2, rt, an)             | T.ADDT(32, e1, e2) => arithTrapping(I.ADD, e1, e2, rt, an)
622             | T.SUBT(32, e1, e2) => arithTrapping(I.SUBF, e2, e1, rt, an)             | T.SUBT(32, e1, e2) => arithTrapping(I.SUBF, e2, e1, rt, an)

Legend:
Removed from v.1205  
changed lines
  Added in v.1273

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0