BSD 4_1_snap development
authorCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1981 06:31:14 +0000 (22:31 -0800)
committerCSRG <csrg@ucbvax.Berkeley.EDU>
Sun, 22 Mar 1981 06:31:14 +0000 (22:31 -0800)
Work on file usr/src/libc/stdio/t

Synthesized-from: CSRG/cd1/4.1.snap

usr/src/libc/stdio/t [new file with mode: 0644]

diff --git a/usr/src/libc/stdio/t b/usr/src/libc/stdio/t
new file mode 100644 (file)
index 0000000..95b23b6
--- /dev/null
@@ -0,0 +1,22 @@
+/******* Start bogus movtuc workaround  *****/
+       clrl r2
+       tstl    r0
+       bleq    movdon
+movlp:
+       tstl    r4
+       bleq    movdon
+       movzbl  (r1)+,r3
+       tstb    strtab[r3]
+       bneq    1f
+       mnegl   $1,r2
+       decl    r1
+       brb     movdon
+1:
+       movb    r3,(r5)+
+       decl    r4
+       sobgtr  r0,movlp
+  /******* End bogus movtuc workaround ***
+       movtuc r0,(r1),$0,(r3),r4,(r5)
+       movpsl r2                       /*  squirrel away condition codes */
+  /******* End equally bogus movtuc ****/
+movdon: movq r4,*fdesc                  /*  update output descriptor */