diff mm7_1.cpp @ 1621:25d3f9e43634

Merge
author Grumpy7
date Sun, 15 Sep 2013 02:21:26 +0200
parents 89dec2be255f
children 7182930263b3
line wrap: on
line diff
--- a/mm7_1.cpp	Sun Sep 15 02:20:06 2013 +0200
+++ b/mm7_1.cpp	Sun Sep 15 02:21:26 2013 +0200
@@ -65,6 +65,14 @@
 {
   return ((__int64)a1 * (__int64)a2) >> 16;
 }
+__int64 fixpoint_sub2(int a1, int a2)
+{
+  signed __int64 v3; // qtt@1
+
+  LODWORD(v3) = a1 << 16;
+  HIDWORD(v3) = a1 >> 16;
+  return v3 / a2;
+}
 
 __int64 fixpoint_dot(int x1, int x2, int y1, int y2, int z1, int z2)
 {