3 msggcc 4.2.2, libgomp under cygwin
4 msgPR1634: Request for gcc-cvs-patches list
6 msgIdea to refine -Wtype-limits
1 msgBounce Test
1 msg[Fwd: Libiberty problem in gcc-4.3 snapshots]
7 msg[RFC] [PATCH] 32-bit pointers in x86-64
8 msgRe: Designs for better debug info in GCC. Choic...
4 msgAutovectorizing HIRLAM; some progress.
3 msgInfinite loop when trying to bootstrap trunk
1 msggcc-4.3-20071123 is now available
1 msgStatus of GCC 4.3 on IA64 (Debian)
5 msg[Fwd: Re: FW: matrix linking]
8 msgDoes gcc support compiling for windows x86-64?
1 msgRiW k sLG
7 msg-Wconversion bug in g++-4.3?

Simple way to write almost same pattern?
\ Bingfeng Mei (22 Nov 2007)
. \ Dave Korn (22 Nov 2007)
. . \ Bingfeng Mei (22 Nov 2007)
. . . \ Dave Korn (22 Nov 2007)
. . . \ Rask Ingemann Lambertsen (23 Nov 2007)

2 msgunsatisfied link error
1 msggcc-4.2-20071121 is now available
2 msgStatus of GCC 4.3 on SPARC (Debian)
7 msgProblem with ARM_DOUBLEWORD_ALIGN on ARM
Subject:Simple way to write almost same pattern?
Group:Gcc
From:Bingfeng Mei
Date:22 Nov 2007


Hi,

I am writing instruction patterns for vector modes (V4Si, V8HI, V16QI,
etc). Since these modes have the same length, the underlying
instructions may also be the same (load/store instrucitons, AND/OR
instructions, etc). Is there any simple way to combines patterns for
different modes instead of writing the following code? A simple form
should be more maintainable.


(define_expand "andv4si3"
[(set (match_operand:V4SI 0 "register_operand" "=r")
(and:SI (match_operand:V4SI 1 "register_operand" "r")
(match_operand:V4SI 2 "general_operand" "ri")))]
""
"andl %0, %1, %2"

(define_expand "andv8hi3"
[(set (match_operand:V8HI 0 "register_operand" "=r")
(and:SI (match_operand:V8HI 1 "register_operand" "r")
(match_operand:V8HI 2 "nonmemory_operand" "ri")))]
""
"andl %0, %1, %2"


(define_expand "andv16qi3"
[(set (match_operand:V16QI 0 "register_operand" "=r")
(and:SI (match_operand:V16QI 1 "register_operand" "r")
(match_operand:V16QI 2 "nonmemory_operand" "ri")))]
""
"andl %0, %1, %2"
...

Thanks,

Bingfeng Mei
Broadcom UK




© 2004-2008 readlist.com