Flag of inline assembly ??

2006-04-06 Thread Ching-Hua Chang
Hi, Is there a flag in gcc that indicate that we are in the inline assembly ? thanks, Aladdin

Addressing mode in inline assembly

2006-04-06 Thread Ching-Hua Chang
Hello , If it is possible to restrict the addressing mode of inline assembly? For example,in normal mode that we accept the addressing mode BASE+OFFSET, but do not like it in inline assembly. Is there any one can give me a hand? thanks a lot! Aladdin

Problem in function in-lining

2006-04-12 Thread Ching-Hua Chang
We had ported gcc-3.4.2 to our own RISC, and meet a strange case in optimization level 3 (-O3). The compiler produce wrong assembly code in O3 and correct result if we add -fno-inline flag. It seems that there some problem in function in-lining. What can I do and what should I do to solve this pr

Reload problem

2006-04-13 Thread Ching-Hua Chang
Hi, I had wrote doloop_end instruction to support hwloop. When try to compile linux kernel, I meet a reload problem, the error message as follow. What kinds of instuction pattern should I add to support the reload that compiler need ? Thanks, Aladdin the constrant 'q' mean the n

How to pass option to arch-linux-elf-run in dejagnu

2006-09-15 Thread Ching-Hua Chang
Hi, I'm trying to test our Compiler (ported from gcc-3.4.2) using the gcc test suite. According to some reasons, I need to pass some options to arch-linux-elf-run in the dejagnu frame work. Is there anyone can give me a hint about his? Thanks in advance, Aladdin