Mips question

Mile Davidovic mile.davidovic@micronasnit.com
Wed Feb 2 15:28:00 GMT 2005


Thanks a lot for Your answers.

In mips.md:

Is it enough to add && 0 here: 

(define_expand "extv"
  [(set (match_operand 0 "register_operand" "")
	(sign_extract (match_operand:QI 1 "memory_operand" "")
		      (match_operand 2 "immediate_operand" "")
		      (match_operand 3 "immediate_operand" "")))]
  "!TARGET_MIPS16 && 0"
....

Best regards Mile 

-----Original Message-----
From: Ian Lance Taylor [mailto:ian@airs.com] 
Sent: Wednesday, February 02, 2005 3:57 PM
To: mile.davidovic@micronasnit.com
Cc: gcc@gcc.gnu.org
Subject: Re: Mips question

"Mile Davidovic" <mile.davidovic@micronasnit.com> writes:

> Is it possible to forbid emiting lwl, lwr, swl and swr in gcc 3.4.1 
> for mips. If You can give me a little help I will be most helpful.

Only by editing the compiler source code.

Look for calls to mips_expand_unaligned_load and mips_expand_unaligned_store
in config/mips/mips.c and mips.md.

Ian



More information about the Gcc mailing list