Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/rs6000/paired.md @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
52:c156f1bd5cd9 | 55:77e2b8dfacca |
---|---|
25 (UNSPEC_INTERLO_V2SF 331) | 25 (UNSPEC_INTERLO_V2SF 331) |
26 (UNSPEC_EXTEVEN_V2SF 332) | 26 (UNSPEC_EXTEVEN_V2SF 332) |
27 (UNSPEC_EXTODD_V2SF 333) | 27 (UNSPEC_EXTODD_V2SF 333) |
28 ]) | 28 ]) |
29 | 29 |
30 (define_insn "negv2sf2" | 30 (define_insn "paired_negv2sf2" |
31 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 31 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
32 (neg:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] | 32 (neg:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] |
33 "TARGET_PAIRED_FLOAT" | 33 "TARGET_PAIRED_FLOAT" |
34 "ps_neg %0,%1" | 34 "ps_neg %0,%1" |
35 [(set_attr "type" "fp")]) | 35 [(set_attr "type" "fp")]) |
39 (sqrt:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] | 39 (sqrt:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] |
40 "TARGET_PAIRED_FLOAT" | 40 "TARGET_PAIRED_FLOAT" |
41 "ps_rsqrte %0,%1" | 41 "ps_rsqrte %0,%1" |
42 [(set_attr "type" "fp")]) | 42 [(set_attr "type" "fp")]) |
43 | 43 |
44 (define_insn "absv2sf2" | 44 (define_insn "paired_absv2sf2" |
45 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 45 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
46 (abs:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] | 46 (abs:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f")))] |
47 "TARGET_PAIRED_FLOAT" | 47 "TARGET_PAIRED_FLOAT" |
48 "ps_abs %0,%1" | 48 "ps_abs %0,%1" |
49 [(set_attr "type" "fp")]) | 49 [(set_attr "type" "fp")]) |
53 (neg:V2SF (abs:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f"))))] | 53 (neg:V2SF (abs:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f"))))] |
54 "TARGET_PAIRED_FLOAT" | 54 "TARGET_PAIRED_FLOAT" |
55 "ps_nabs %0,%1" | 55 "ps_nabs %0,%1" |
56 [(set_attr "type" "fp")]) | 56 [(set_attr "type" "fp")]) |
57 | 57 |
58 (define_insn "addv2sf3" | 58 (define_insn "paired_addv2sf3" |
59 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 59 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
60 (plus:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "%f") | 60 (plus:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "%f") |
61 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] | 61 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] |
62 "TARGET_PAIRED_FLOAT" | 62 "TARGET_PAIRED_FLOAT" |
63 "ps_add %0,%1,%2" | 63 "ps_add %0,%1,%2" |
64 [(set_attr "type" "fp")]) | 64 [(set_attr "type" "fp")]) |
65 | 65 |
66 (define_insn "subv2sf3" | 66 (define_insn "paired_subv2sf3" |
67 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 67 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
68 (minus:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f") | 68 (minus:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f") |
69 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] | 69 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] |
70 "TARGET_PAIRED_FLOAT" | 70 "TARGET_PAIRED_FLOAT" |
71 "ps_sub %0,%1,%2" | 71 "ps_sub %0,%1,%2" |
72 [(set_attr "type" "fp")]) | 72 [(set_attr "type" "fp")]) |
73 | 73 |
74 (define_insn "mulv2sf3" | 74 (define_insn "paired_mulv2sf3" |
75 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 75 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
76 (mult:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "%f") | 76 (mult:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "%f") |
77 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] | 77 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] |
78 "TARGET_PAIRED_FLOAT" | 78 "TARGET_PAIRED_FLOAT" |
79 "ps_mul %0,%1,%2" | 79 "ps_mul %0,%1,%2" |
84 (unspec:V2SF [(match_operand:V2SF 1 "gpc_reg_operand" "f")] UNSPEC_FRES))] | 84 (unspec:V2SF [(match_operand:V2SF 1 "gpc_reg_operand" "f")] UNSPEC_FRES))] |
85 "TARGET_PAIRED_FLOAT && flag_finite_math_only" | 85 "TARGET_PAIRED_FLOAT && flag_finite_math_only" |
86 "ps_res %0,%1" | 86 "ps_res %0,%1" |
87 [(set_attr "type" "fp")]) | 87 [(set_attr "type" "fp")]) |
88 | 88 |
89 (define_insn "divv2sf3" | 89 (define_insn "paired_divv2sf3" |
90 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") | 90 [(set (match_operand:V2SF 0 "gpc_reg_operand" "=f") |
91 (div:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f") | 91 (div:V2SF (match_operand:V2SF 1 "gpc_reg_operand" "f") |
92 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] | 92 (match_operand:V2SF 2 "gpc_reg_operand" "f")))] |
93 "TARGET_PAIRED_FLOAT" | 93 "TARGET_PAIRED_FLOAT" |
94 "ps_div %0,%1,%2" | 94 "ps_div %0,%1,%2" |