predicates.md (const2356_operand): Change to ...
* config/i386/predicates.md (const2356_operand): Change to ... (const2367_operand): ... this. * config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use const2367_operand. (*avx512pf_scatterpf<mode>sf_mask): Ditto. (*avx512pf_scatterpf<mode>sf): Ditto. (avx512pf_scatterpf<mode>df): Ditto. (*avx512pf_scatterpf<mode>df_mask): Ditto. (*avx512pf_scatterpf<mode>df): Ditto. * config/i386/i386.c (ix86_expand_builtin): Update incorrect hint operand error message. From-SVN: r208324
This commit is contained in:
parent
fabdcf97a5
commit
66b03f816a
@ -1,7 +1,21 @@
|
||||
2014-03-04 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* config/i386/predicates.md (const2356_operand): Change to ...
|
||||
(const2367_operand): ... this.
|
||||
* config/i386/sse.md (avx512pf_scatterpf<mode>sf): Use
|
||||
const2367_operand.
|
||||
(*avx512pf_scatterpf<mode>sf_mask): Ditto.
|
||||
(*avx512pf_scatterpf<mode>sf): Ditto.
|
||||
(avx512pf_scatterpf<mode>df): Ditto.
|
||||
(*avx512pf_scatterpf<mode>df_mask): Ditto.
|
||||
(*avx512pf_scatterpf<mode>df): Ditto.
|
||||
* config/i386/i386.c (ix86_expand_builtin): Update
|
||||
incorrect hint operand error message.
|
||||
|
||||
2014-03-04 Richard Biener <rguenther@suse.de>
|
||||
|
||||
* lto-section-in.c (lto_get_section_data): Fix const cast.
|
||||
|
||||
|
||||
2014-03-04 Paulo Matos <paulo@matos-sorge.com>
|
||||
|
||||
* tree-streamer.c (record_common_node): Assert we don't record
|
||||
@ -13,12 +27,11 @@
|
||||
2014-03-04 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR lto/60405
|
||||
* lto-streamer-in.c (lto_read_body): Remove LTO bytecode version
|
||||
check.
|
||||
* lto-streamer-in.c (lto_read_body): Remove LTO bytecode version check.
|
||||
(lto_input_toplevel_asms): Likewise.
|
||||
* lto-section-in.c (lto_get_section_data): Instead do it here
|
||||
for every section.
|
||||
|
||||
|
||||
2014-03-04 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/60382
|
||||
|
@ -36022,7 +36022,7 @@ addcarryx:
|
||||
|
||||
if (!insn_data[icode].operand[4].predicate (op4, mode4))
|
||||
{
|
||||
error ("the last argument must be hint 0 or 1");
|
||||
error ("incorrect hint operand");
|
||||
return const0_rtx;
|
||||
}
|
||||
|
||||
|
@ -660,12 +660,12 @@
|
||||
return i == 2 || i == 4 || i == 8;
|
||||
})
|
||||
|
||||
;; Match 2, 3, 5, or 6
|
||||
(define_predicate "const2356_operand"
|
||||
;; Match 2, 3, 6, or 7
|
||||
(define_predicate "const2367_operand"
|
||||
(match_code "const_int")
|
||||
{
|
||||
HOST_WIDE_INT i = INTVAL (op);
|
||||
return i == 2 || i == 3 || i == 5 || i == 6;
|
||||
return i == 2 || i == 3 || i == 6 || i == 7;
|
||||
})
|
||||
|
||||
;; Match 1, 2, 4, or 8
|
||||
|
@ -12652,7 +12652,7 @@
|
||||
[(match_operand 2 "vsib_address_operand")
|
||||
(match_operand:VI48_512 1 "register_operand")
|
||||
(match_operand:SI 3 "const1248_operand")]))
|
||||
(match_operand:SI 4 "const2356_operand")]
|
||||
(match_operand:SI 4 "const2367_operand")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
@ -12670,14 +12670,14 @@
|
||||
(match_operand:VI48_512 1 "register_operand" "v")
|
||||
(match_operand:SI 3 "const1248_operand" "n")]
|
||||
UNSPEC_VSIBADDR)])
|
||||
(match_operand:SI 4 "const2356_operand" "n")]
|
||||
(match_operand:SI 4 "const2367_operand" "n")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
switch (INTVAL (operands[4]))
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
case 7:
|
||||
return "vscatterpf0<ssemodesuffix>ps\t{%5%{%0%}|%5%{%0%}}";
|
||||
case 2:
|
||||
case 6:
|
||||
@ -12699,14 +12699,14 @@
|
||||
(match_operand:VI48_512 0 "register_operand" "v")
|
||||
(match_operand:SI 2 "const1248_operand" "n")]
|
||||
UNSPEC_VSIBADDR)])
|
||||
(match_operand:SI 3 "const2356_operand" "n")]
|
||||
(match_operand:SI 3 "const2367_operand" "n")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
switch (INTVAL (operands[3]))
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
case 7:
|
||||
return "vscatterpf0<ssemodesuffix>ps\t{%4|%4}";
|
||||
case 2:
|
||||
case 6:
|
||||
@ -12728,7 +12728,7 @@
|
||||
[(match_operand 2 "vsib_address_operand")
|
||||
(match_operand:VI4_256_8_512 1 "register_operand")
|
||||
(match_operand:SI 3 "const1248_operand")]))
|
||||
(match_operand:SI 4 "const2356_operand")]
|
||||
(match_operand:SI 4 "const2367_operand")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
@ -12746,14 +12746,14 @@
|
||||
(match_operand:VI4_256_8_512 1 "register_operand" "v")
|
||||
(match_operand:SI 3 "const1248_operand" "n")]
|
||||
UNSPEC_VSIBADDR)])
|
||||
(match_operand:SI 4 "const2356_operand" "n")]
|
||||
(match_operand:SI 4 "const2367_operand" "n")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
switch (INTVAL (operands[4]))
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
case 7:
|
||||
return "vscatterpf0<ssemodesuffix>pd\t{%5%{%0%}|%5%{%0%}}";
|
||||
case 2:
|
||||
case 6:
|
||||
@ -12775,14 +12775,14 @@
|
||||
(match_operand:VI4_256_8_512 0 "register_operand" "v")
|
||||
(match_operand:SI 2 "const1248_operand" "n")]
|
||||
UNSPEC_VSIBADDR)])
|
||||
(match_operand:SI 3 "const2356_operand" "n")]
|
||||
(match_operand:SI 3 "const2367_operand" "n")]
|
||||
UNSPEC_SCATTER_PREFETCH)]
|
||||
"TARGET_AVX512PF"
|
||||
{
|
||||
switch (INTVAL (operands[3]))
|
||||
{
|
||||
case 3:
|
||||
case 5:
|
||||
case 7:
|
||||
return "vscatterpf0<ssemodesuffix>pd\t{%4|%4}";
|
||||
case 2:
|
||||
case 6:
|
||||
|
Loading…
x
Reference in New Issue
Block a user