i386.c (ix86_builtin_type): Add FLOAT128_FTYPE_FLOAT128_FLOAT128...
2008-04-30 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (ix86_builtin_type): Add FLOAT128_FTYPE_FLOAT128_FLOAT128, V16QI_FTYPE_V16QI_V16QI, V16QI_FTYPE_V8HI_V8HI, V8QI_FTYPE_V8QI_V8QI, V8QI_FTYPE_V4HI_V4HI, V8HI_FTYPE_V8HI_V8HI, V8HI_FTYPE_V16QI_V16QI, V8HI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V8HI_V8HI, V4SI_FTYPE_V4SF_V4SF, V4SI_FTYPE_V2DF_V2DF, V4HI_FTYPE_V4HI_V4HI, V4HI_FTYPE_V8QI_V8QI, V4HI_FTYPE_V2SI_V2SI, V4SF_FTYPE_V4SF_V4SF, V4SF_FTYPE_V4SF_V4SF_SWAP, V4SF_FTYPE_V4SF_V2SI, V4SF_FTYPE_V4SF_V2DF, V4SF_FTYPE_V4SF_DI, V4SF_FTYPE_V4SF_SI, V2DI_FTYPE_V2DI_V2DI, V2DI_FTYPE_V16QI_V16QI, V2DI_FTYPE_V4SI_V4SI, V2DI_FTYPE_V2DF_V2DF, V2SI_FTYPE_V2SI_V2SI, V2SI_FTYPE_V4HI_V4HI, V2SI_FTYPE_V2SF_V2SF, V2DF_FTYPE_V2DF_V2DF, V2DF_FTYPE_V2DF_V2DF_SWAP, V2DF_FTYPE_V2DF_V4SF, V2DF_FTYPE_V2DF_DI, V2DF_FTYPE_V2DF_SI, V2SF_FTYPE_V2SF_V2SF, V1DI_FTYPE_V1DI_V1DI, V1DI_FTYPE_V8QI_V8QI and V1DI_FTYPE_V2SI_V2SI. (bdesc_2arg): Moved to ... (bdesc_args): Here. (ix86_init_mmx_sse_builtins): Updated. (ix86_expand_args_builtin): Updated. Take a pointer to const struct builtin_description. Handle comparison builtin functions. (ix86_expand_sse_compare): Take a new argument for swapping operands. (ix86_expand_builtin): Updated. * config/i386/sse.md (ssse3_pmaddubswv8hi3): Renamed to ... (ssse3_pmaddubsw128): This. (ssse3_pmaddubswv4hi3): Renamed to ... (ssse3_pmaddubsw): This. * doc/extend.texi (__builtin_ia32_packsswb128): Correct prototype. (__builtin_ia32_packssdw128): Likewise. )__builtin_ia32_packuswb128): Likewise. (__builtin_ia32_pmaddubsw): Likewise. (__builtin_ia32_pmaddubsw128): Likewise. From-SVN: r134827
This commit is contained in:
parent
d7b339dd2a
commit
1b667c8276
@ -1,3 +1,47 @@
|
||||
2008-04-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (ix86_builtin_type): Add
|
||||
FLOAT128_FTYPE_FLOAT128_FLOAT128, V16QI_FTYPE_V16QI_V16QI,
|
||||
V16QI_FTYPE_V8HI_V8HI, V8QI_FTYPE_V8QI_V8QI,
|
||||
V8QI_FTYPE_V4HI_V4HI, V8HI_FTYPE_V8HI_V8HI,
|
||||
V8HI_FTYPE_V16QI_V16QI, V8HI_FTYPE_V4SI_V4SI,
|
||||
V4SI_FTYPE_V4SI_V4SI, V4SI_FTYPE_V8HI_V8HI,
|
||||
V4SI_FTYPE_V4SF_V4SF, V4SI_FTYPE_V2DF_V2DF,
|
||||
V4HI_FTYPE_V4HI_V4HI, V4HI_FTYPE_V8QI_V8QI,
|
||||
V4HI_FTYPE_V2SI_V2SI, V4SF_FTYPE_V4SF_V4SF,
|
||||
V4SF_FTYPE_V4SF_V4SF_SWAP, V4SF_FTYPE_V4SF_V2SI,
|
||||
V4SF_FTYPE_V4SF_V2DF, V4SF_FTYPE_V4SF_DI,
|
||||
V4SF_FTYPE_V4SF_SI, V2DI_FTYPE_V2DI_V2DI,
|
||||
V2DI_FTYPE_V16QI_V16QI, V2DI_FTYPE_V4SI_V4SI,
|
||||
V2DI_FTYPE_V2DF_V2DF, V2SI_FTYPE_V2SI_V2SI,
|
||||
V2SI_FTYPE_V4HI_V4HI, V2SI_FTYPE_V2SF_V2SF,
|
||||
V2DF_FTYPE_V2DF_V2DF, V2DF_FTYPE_V2DF_V2DF_SWAP,
|
||||
V2DF_FTYPE_V2DF_V4SF, V2DF_FTYPE_V2DF_DI,
|
||||
V2DF_FTYPE_V2DF_SI, V2SF_FTYPE_V2SF_V2SF,
|
||||
V1DI_FTYPE_V1DI_V1DI, V1DI_FTYPE_V8QI_V8QI and
|
||||
V1DI_FTYPE_V2SI_V2SI.
|
||||
(bdesc_2arg): Moved to ...
|
||||
(bdesc_args): Here.
|
||||
(ix86_init_mmx_sse_builtins): Updated.
|
||||
(ix86_expand_args_builtin): Updated. Take a pointer
|
||||
to const struct builtin_description. Handle comparison
|
||||
builtin functions.
|
||||
(ix86_expand_sse_compare): Take a new argument for swapping
|
||||
operands.
|
||||
(ix86_expand_builtin): Updated.
|
||||
|
||||
* config/i386/sse.md (ssse3_pmaddubswv8hi3): Renamed to ...
|
||||
(ssse3_pmaddubsw128): This.
|
||||
(ssse3_pmaddubswv4hi3): Renamed to ...
|
||||
(ssse3_pmaddubsw): This.
|
||||
|
||||
* doc/extend.texi (__builtin_ia32_packsswb128): Correct
|
||||
prototype.
|
||||
(__builtin_ia32_packssdw128): Likewise.
|
||||
)__builtin_ia32_packuswb128): Likewise.
|
||||
(__builtin_ia32_pmaddubsw): Likewise.
|
||||
(__builtin_ia32_pmaddubsw128): Likewise.
|
||||
|
||||
2008-04-30 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/14847
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -5586,7 +5586,7 @@
|
||||
(set_attr "prefix_extra" "1")
|
||||
(set_attr "mode" "DI")])
|
||||
|
||||
(define_insn "ssse3_pmaddubswv8hi3"
|
||||
(define_insn "ssse3_pmaddubsw128"
|
||||
[(set (match_operand:V8HI 0 "register_operand" "=x")
|
||||
(ss_plus:V8HI
|
||||
(mult:V8HI
|
||||
@ -5640,7 +5640,7 @@
|
||||
(set_attr "prefix_extra" "1")
|
||||
(set_attr "mode" "TI")])
|
||||
|
||||
(define_insn "ssse3_pmaddubswv4hi3"
|
||||
(define_insn "ssse3_pmaddubsw"
|
||||
[(set (match_operand:V4HI 0 "register_operand" "=y")
|
||||
(ss_plus:V4HI
|
||||
(mult:V4HI
|
||||
|
@ -7748,9 +7748,9 @@ v16qi __builtin_ia32_punpcklbw128 (v16qi, v16qi)
|
||||
v8hi __builtin_ia32_punpcklwd128 (v8hi, v8hi)
|
||||
v4si __builtin_ia32_punpckldq128 (v4si, v4si)
|
||||
v2di __builtin_ia32_punpcklqdq128 (v2di, v2di)
|
||||
v16qi __builtin_ia32_packsswb128 (v16qi, v16qi)
|
||||
v8hi __builtin_ia32_packssdw128 (v8hi, v8hi)
|
||||
v16qi __builtin_ia32_packuswb128 (v16qi, v16qi)
|
||||
v16qi __builtin_ia32_packsswb128 (v8hi, v8hi)
|
||||
v8hi __builtin_ia32_packssdw128 (v4si, v4si)
|
||||
v16qi __builtin_ia32_packuswb128 (v8hi, v8hi)
|
||||
v8hi __builtin_ia32_pmulhuw128 (v8hi, v8hi)
|
||||
void __builtin_ia32_maskmovdqu (v16qi, v16qi)
|
||||
v2df __builtin_ia32_loadupd (double *)
|
||||
@ -7852,7 +7852,7 @@ v4hi __builtin_ia32_phaddsw (v4hi, v4hi)
|
||||
v2si __builtin_ia32_phsubd (v2si, v2si)
|
||||
v4hi __builtin_ia32_phsubw (v4hi, v4hi)
|
||||
v4hi __builtin_ia32_phsubsw (v4hi, v4hi)
|
||||
v8qi __builtin_ia32_pmaddubsw (v8qi, v8qi)
|
||||
v4hi __builtin_ia32_pmaddubsw (v8qi, v8qi)
|
||||
v4hi __builtin_ia32_pmulhrsw (v4hi, v4hi)
|
||||
v8qi __builtin_ia32_pshufb (v8qi, v8qi)
|
||||
v8qi __builtin_ia32_psignb (v8qi, v8qi)
|
||||
@ -7875,7 +7875,7 @@ v8hi __builtin_ia32_phaddsw128 (v8hi, v8hi)
|
||||
v4si __builtin_ia32_phsubd128 (v4si, v4si)
|
||||
v8hi __builtin_ia32_phsubw128 (v8hi, v8hi)
|
||||
v8hi __builtin_ia32_phsubsw128 (v8hi, v8hi)
|
||||
v16qi __builtin_ia32_pmaddubsw128 (v16qi, v16qi)
|
||||
v8hi __builtin_ia32_pmaddubsw128 (v16qi, v16qi)
|
||||
v8hi __builtin_ia32_pmulhrsw128 (v8hi, v8hi)
|
||||
v16qi __builtin_ia32_pshufb128 (v16qi, v16qi)
|
||||
v16qi __builtin_ia32_psignb128 (v16qi, v16qi)
|
||||
|
Loading…
Reference in New Issue
Block a user