[Bug inline-asm/37711] Incorrect code generated for mips inline assembly

2008-10-03 Thread andy-gcc at ultra-premium dot com
--- Comment #3 from andy-gcc at ultra-premium dot com 2008-10-03 10:52 --- Gah. You are absolutely correct. Thanks for your help, and I'm glad I included this sentence: "And sorry if my understanding of the extended assembly is wrong and this is a bug in my own code." -- http://gc

[Bug inline-asm/37711] Incorrect code generated for mips inline assembly

2008-10-02 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-10-02 19:33 --- asm("SLL %[temp], %[c], 16\n\t" "MULT %[a], %[c]\n\t" : [result]"=h"(result), [temp]"=r"(temp) : [a]"r"(a), [c]"r"(c) : "lo"); You need an early clobber on tem