This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/35624] ARM embeded assembly result error
- From: "rurality dot wq at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Mar 2008 09:33:38 -0000
- Subject: [Bug c/35624] ARM embeded assembly result error
- References: <bug-35624-15937@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from rurality dot wq at gmail dot com 2008-03-21 09:33 -------
I modified the source as below.
It seems that It does not work.
I am not sure whether it is a bug.Or gcc can not treat this situation?
// copy 128 bit one time
#define burst_copy(dst,src,len) {\
__asm__ __volatile__ ( \
"1: \n\t" \
"ldmia %1!,{r3-r6} \n\t" \
"stmia %0!,{r3-r6} \n\t" \
"subs %2, %2, #1 \n\t" \
"bne 1b \n\t" \
::"r"(dst),"r"(src),"r"(len) \
:"%0", "%1" , "%2","r3","r4","r5","r6" ); \
}
--
rurality dot wq at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35624