This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/13591] loop unrolling creates incorrect code with inline asm


------- Additional Comments From rsandifo at gcc dot gnu dot org  2004-01-06 22:00 -------
I think you misunderstood my point about "m".  If you want to load
the contents of the word at address p0, you must make p0 a pointer
to a word-sized object and pass "m" (*p0) as an input to the asm.

Please see the documentation on inline asms for details on this
sort of thing.  Post to gcc-help if you're in any doubt.



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13591


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]