From owner-freebsd-hackers Sat Feb 17 04:59:23 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA09530 for hackers-outgoing; Sat, 17 Feb 1996 04:59:23 -0800 (PST) Received: from hp.com (hp.com [15.255.152.4]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id EAA09525 for ; Sat, 17 Feb 1996 04:59:21 -0800 (PST) Received: from fakir.india.hp.com by hp.com with ESMTP (1.37.109.16/15.5+ECS 3.3) id AA296681945; Sat, 17 Feb 1996 04:59:09 -0800 Received: from localhost by fakir.india.hp.com with SMTP (1.37.109.16/15.5+ECS 3.3) id AA270801746; Sat, 17 Feb 1996 18:25:46 +0530 Message-Id: <199602171255.AA270801746@fakir.india.hp.com> To: freebsd-hackers@freebsd.org Subject: Doing a rep movsw Date: Sat, 17 Feb 1996 18:25:45 +0530 From: A JOSEPH KOSHY Sender: owner-hackers@freebsd.org Precedence: bulk Hi, How can one perform a "rep movsw" in Gcc? I saw inline code to do a "rep insw" in machine/cpufunc.h --- is there an equivalent inline macro for "movsw" that I've missed out? I cannot use `bcopy' here because I am trying to access a memory mapped I/O port which requires word accesses (no 8/32 bit accesses are permitted). Koshy