386BSD 0.1 development
authorWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 22 Jan 1991 06:49:16 +0000 (22:49 -0800)
committerWilliam F. Jolitz <wjolitz@soda.berkeley.edu>
Tue, 22 Jan 1991 06:49:16 +0000 (22:49 -0800)
Work on file usr/src/usr.bin/gcc/gnulib/longlong/anddi3.c

Co-Authored-By: Lynne Greer Jolitz <ljolitz@cardio.ucsf.edu>
Synthesized-from: 386BSD-0.1

usr/src/usr.bin/gcc/gnulib/longlong/anddi3.c [new file with mode: 0644]

diff --git a/usr/src/usr.bin/gcc/gnulib/longlong/anddi3.c b/usr/src/usr.bin/gcc/gnulib/longlong/anddi3.c
new file mode 100644 (file)
index 0000000..351cbde
--- /dev/null
@@ -0,0 +1,17 @@
+#include "longlong.h"
+
+long long 
+__anddi3 (u, v)
+     long long u, v;
+{
+  long_long w;
+  long_long uu, vv;
+
+  uu.ll = u;
+  vv.ll = v;
+
+  w.s.high = uu.s.high & vv.s.high;
+  w.s.low = uu.s.low & vv.s.low;
+
+  return w.ll;
+}