Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23632
Modified Files: Tag: devel_0_38 d_ctl.c m_fifo.c Log Message: msvc compile fix + cas2 on ppc
Index: m_fifo.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/m_fifo.c,v retrieving revision 1.1.2.7 retrieving revision 1.1.2.8 diff -C2 -d -r1.1.2.7 -r1.1.2.8 *** m_fifo.c 12 Jan 2005 14:51:41 -0000 1.1.2.7 --- m_fifo.c 14 Jan 2005 17:33:21 -0000 1.1.2.8 *************** *** 132,136 **** "1: \n" \ :"=&r"(tmp1), "=&r"(tmp2), "=r"(ret) : \ ! "m" (*mem), "m"(*(mem+(sizeof(__typeof__(old1))), \ "r" (old1), "r" (old2), \ "r" (new1), "r"(new2), "0"(ret), ); \ --- 132,136 ---- "1: \n" \ :"=&r"(tmp1), "=&r"(tmp2), "=r"(ret) : \ ! "m" (*mem), "m"(*(mem+(sizeof(__typeof__(old1))))), \ "r" (old1), "r" (old2), \ "r" (new1), "r"(new2), "0"(ret), ); \ *************** *** 205,209 **** } ! CAS2(&fifo->tail, tail, icount, cell, icount +1); return; } --- 205,209 ---- } ! CAS2(&fifo->tail, tail, icount, cell, icount + 1); return; }
Index: d_ctl.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/d_ctl.c,v retrieving revision 1.3.4.7 retrieving revision 1.3.4.8 diff -C2 -d -r1.3.4.7 -r1.3.4.8 *** d_ctl.c 12 Jan 2005 14:52:13 -0000 1.3.4.7 --- d_ctl.c 14 Jan 2005 17:33:19 -0000 1.3.4.8 *************** *** 169,174 **** { float f = x->x_value; - n >>= 3; float slope = x->x_inc; while (n--) { --- 169,174 ---- { float f = x->x_value; float slope = x->x_inc; + n >>= 3; while (n--) {