Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/charisee/src/compiler/low-il/low-il.sml
ViewVC logotype

Diff of /branches/charisee/src/compiler/low-il/low-il.sml

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

revision 2826, Mon Nov 10 21:06:46 2014 UTC revision 2827, Tue Nov 11 00:18:38 2014 UTC
# Line 237  Line 237 
237        | same (IMul, IMul) = true        | same (IMul, IMul) = true
238        | same (IDiv, IDiv) = true        | same (IDiv, IDiv) = true
239        | same (INeg, INeg) = true        | same (INeg, INeg) = true
240        | same (IndexTensor(a0,a1,a2), IndexTensor(b0,b1,b2)) = sameint(a0, b0) andalso samety(a1, b1) andalso samety(a2, b2)        | same (IndexTensor(a0,a1,a2), IndexTensor(b0,b1,b2)) =  samety(a1, b1) andalso samety(a2, b2)
241        | same (ProjectTensor(a0,a1,a2,a3), ProjectTensor(b0,b1,b2,b3)) = sameint(a0, b0) andalso sameint(a1, b1) andalso samety(a2, b2) andalso samety(a3, b3)        | same (ProjectTensor(a0,a1,a2,a3), ProjectTensor(b0,b1,b2,b3)) =  sameint(a1, b1) andalso samety(a2, b2) andalso samety(a3, b3)
242        | same (addSca, addSca) = true        | same (addSca, addSca) = true
243        | same (subSca, subSca) = true        | same (subSca, subSca) = true
244        | same (prodSca, prodSca) = true        | same (prodSca, prodSca) = true
# Line 302  Line 302 
302        | hash IMul = 0w7        | hash IMul = 0w7
303        | hash IDiv = 0w11        | hash IDiv = 0w11
304        | hash INeg = 0w13        | hash INeg = 0w13
305        | hash (IndexTensor(a0,a1,a2)) = 0w17 + hashint a0 + hashty a1 + hashty a2        | hash (IndexTensor(a0,a1,a2)) = 0w17 + hashty a1 + hashty a2
306        | hash (ProjectTensor(a0,a1,a2,a3)) = 0w19 + hashint a0 + hashint a1 + hashty a2 + hashty a3        | hash (ProjectTensor(a0,a1,a2,a3)) = 0w19 + hashint a0 + hashint a1 + hashty a2 + hashty a3
307        | hash addSca = 0w23        | hash addSca = 0w23
308        | hash subSca = 0w29        | hash subSca = 0w29

Legend:
Removed from v.2826  
changed lines
  Added in v.2827

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