Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update teams branch from upstream #3

Merged
merged 397 commits into from
Aug 29, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
397 commits
Select commit Hold shift + click to select a range
cb4d9ee
PR c/81417
Aug 9, 2017
88539b9
PR c/81233
Aug 9, 2017
623ee35
Boolify some parameters.
Aug 9, 2017
4b82930
* g++.dg/asan/asan.exp: Switch on *.cc tests.
Aug 9, 2017
7dd5e73
compiler: handle >32bit exponent in Ldexp
Aug 9, 2017
e6e4aaf
PR libstdc++/81751 don't call fflush(NULL)
Aug 9, 2017
b9e17a4
PR c++/81359 - Unparsed NSDMI error from SFINAE context.
Aug 9, 2017
bff6c70
2017-08-09 Will Schmidt <will_schmidt@vnet.ibm.com>
Aug 9, 2017
eaaf318
[gcc/testsuite]
Aug 9, 2017
18dd500
[gcc/testsuite]
Aug 9, 2017
9739803
[gcc/testsuite]
Aug 9, 2017
ec04b34
PR c++/81525 - wrong constant value with generic lambda
Aug 9, 2017
10873f6
Add falkor pipeline description.
Aug 9, 2017
e7501c1
Testcase for PR81423
Aug 9, 2017
1823d5f
rs6000: Use SAVE_MULTIPLE only if we restore what it saves (PR80938)
Aug 9, 2017
9c4ff2c
compiler: fix buglet in lshift type determination
Aug 9, 2017
dfbe531
[gcc]
Aug 9, 2017
d8618a7
Fix test for __is_aggregate support in Clang
Aug 9, 2017
1ac94d7
Fix test for __has_unique_object_representations support in Clang
Aug 9, 2017
5de4449
2017-08-09 Michael Collison <michael.collison@arm.com>
Aug 9, 2017
5e1b970
This time with the file added.
Aug 9, 2017
4bd8a75
2017-08-09 Andrew Pinski <apinski@cavium.com>
Aug 10, 2017
33e017c
Daily bump.
Aug 10, 2017
fc69738
jit: add gcc_jit_type_get_vector
Aug 10, 2017
ed5078d
PR c/81687
Aug 10, 2017
98afa00
Fix target attribute handling (PR c++/81355).
Aug 10, 2017
664d4b1
PR testsuite/81784
Aug 10, 2017
f4d53ac
* objc.dg/proto-lossage-4.m: Accept int/long int as intptr_t.
Aug 10, 2017
8ef2cf7
2017-08-10 Fritz Reese <Reese-Fritz@zai.com>
Aug 10, 2017
6325663
2017-08-10 Fritz Reese <Reese-Fritz@zai.com>
Aug 10, 2017
a3b8981
2017-08-10 Fritz Reese <fritzoreese@gmail.com>
Aug 10, 2017
3fe3469
C/C++: show pertinent open token when missing a close token
Aug 10, 2017
9d34721
[gcc/testsuite]
Aug 10, 2017
cd557ff
i386: Don't use frame pointer without stack access
Aug 10, 2017
ac8b6a4
PR c++/81586 - valgrind error in output_buffer_append_r with -Wall
Aug 10, 2017
fe05112
gcc/ChangeLog:
Aug 10, 2017
4b06e27
* config/i386/i386-protos.h (ix86_split_stack_boundary): New prototype.
Aug 10, 2017
6b90c65
* config/i386/i386.c (ix86_split_stack_boundary): Add comment.
Aug 10, 2017
ff00c67
PR c++/80452 - Core 1579, implicit move semantics on return/throw
Aug 10, 2017
c79a9a2
PR c++/81359 - Unparsed NSDMI error from SFINAE context.
Aug 10, 2017
6bf4b27
PR81738: Split vect-alias-check-6.c
Aug 10, 2017
ed53487
Rename ix86_split_stack_boundary to ix86_split_stack_guard.
Aug 10, 2017
05641ad
PR target/81708
Aug 10, 2017
7d08196
PR libstdc++/81808 skip test if reading directory doesn't fail
Aug 11, 2017
8d9f927
Daily bump.
Aug 11, 2017
f283da5
PR c++/81671 - nullptr_t template parameter
Aug 11, 2017
f4b5664
Fix ifunc and resolver (PR ipa/81213).
Aug 11, 2017
07b8a41
Introduce TARGET_SUPPORTS_ALIASES
Aug 11, 2017
f5f4a06
Do not instrument void variables with MPX (PR tree-opt/79987).
Aug 11, 2017
56f97d1
* tree-sra.c (build_access_from_expr_1): Use more precise diagnostics
Aug 11, 2017
ad20f4d
2017-08-11 Tamar Christina <tamar.christina@arm.com>
Aug 11, 2017
a0fa63c
Correct invalid ChangeLog entry
Aug 11, 2017
5b005e8
[PR lto/81430] Revert "Add nvptx_override_options_after_change"
Aug 11, 2017
80e5248
2017-08-11 Thomas Koenig <tkoenig@gcc.gnu.org>
Aug 11, 2017
f8b90e5
2017-08-11 Thomas Koenig <tkoenig@gcc.gnu.org>
Aug 11, 2017
0eb79e8
PR c/81795
Aug 11, 2017
775de9e
Daily bump.
Aug 12, 2017
a9b2df6
[RS6000] linux startfile/endfile
Aug 12, 2017
ce08eba
[PR79542][Ada] Fix ICE in dwarf2out.c with nested func. inlining
Aug 12, 2017
908e437
Require -static support in gcc.dg/pie-static-[12].c (PR testsuite/81793)
Aug 12, 2017
b533de1
Daily bump.
Aug 13, 2017
074046f
2017-08-12 Andrew Pinski <apinski@cavium.com>
Aug 13, 2017
6fc8fd8
2017-08-13 Thomas Koenig <tkoenig@gcc.gnu.org>
Aug 13, 2017
c352171
* config/i386/i386.md (*load_tp_<mode>): Redefine as
Aug 13, 2017
ac36c55
i386: Replace frame pointer with stack pointer in debug insns
Aug 13, 2017
67201d0
Daily bump.
Aug 14, 2017
327e201
gcc/
Aug 14, 2017
2d5736b
[AArch64] Fix dbl_mov_immediate_1.c test
Aug 14, 2017
639b2a4
Add check_effective_target_autoincdec.
Aug 14, 2017
b48c230
PR tree-optimization/81799
Aug 14, 2017
2d67bb4
[gcc]
Aug 14, 2017
65ae902
[AArch64] Fix longbranch test
Aug 14, 2017
a6e6a4d
PR target/46091
Aug 14, 2017
428d063
PR translation/79998 - typo in diagnostic "specified bound %wu"
Aug 14, 2017
d5e69e3
* gcc.dg/ucnid-5.c: Skip on AIX.
Aug 14, 2017
c861698
PR c/81117 - Improve buffer overflow checking in strncpy - part 1
Aug 14, 2017
9d3c24b
PR c/81117 - Improve buffer overflow checking in strncpy - part 2
Aug 14, 2017
91cec32
gcc/ChangeLog:
Aug 14, 2017
e9bb4ef
2017-08-15 Richard Biener <rguenther@suse.de>
Aug 15, 2017
9352a37
* gcc.c (execute): Emit friendlier message if inferior is killed
Aug 15, 2017
0f9b3b5
Update .po files.
Aug 15, 2017
65ebf6e
Limit SH strncmp inline expansion (PR target/78460).
Aug 15, 2017
6673f31
Daily bump.
Aug 16, 2017
c5ddd56
[RS6000] Don't restore fixed regs
Aug 16, 2017
875db42
[RS6000] Merge rs6000_reg_live_or_pic_offset_p into save_reg_p
Aug 16, 2017
c75fa14
[RS6000] Delete code made dead by r250482
Aug 16, 2017
ed3fa54
PR81815: Invalid conditional reduction
Aug 16, 2017
6d07782
Fix building of cross compiler (PR target/81753).
Aug 16, 2017
91bd161
PR middle/81695
Aug 16, 2017
6637b40
PR tree-optimization/81832
Aug 16, 2017
2729e2c
PR target/46091
Aug 16, 2017
69f2770
2017-08-16 Thomas Koenig <tkoenig@gcc.gnu.org>
Aug 16, 2017
1c29f8c
* c-c++-common/patchable_function_entry-decl.c (dg-final): Adapt
Aug 16, 2017
c32fbf7
runtime: improvements for signal registers
Aug 16, 2017
3534541
diagnostic-show-locus.c: remove unused field from class colorizer
Aug 16, 2017
ff7f27b
* tree-core.h (tree_type_non_common): Rename binfo to lang_1.
Aug 16, 2017
5ad43fe
* fr.po: Update.
Aug 16, 2017
1e7e941
runtime: better implementation of netpoll for AIX
Aug 16, 2017
64e99be
Daily bump.
Aug 17, 2017
f96de59
[RS6000] PR 80938, Don't emit frame info for regs that don't need saving
Aug 17, 2017
7ae5a9d
2017-08-17 Richard Biener <rguenther@suse.de>
Aug 17, 2017
159350c
* gimplify.c (gimplify_adjust_omp_clauses): Compare with 0 instead of
Aug 17, 2017
e90136c
2017-08-17 Richard Biener <rguenther@suse.de>
Aug 17, 2017
ac447bc
Require effective target nonlocal_goto for ipa/pr81696.c
Aug 17, 2017
abf8891
2017-08-17 Maxim Ostapenko <m.ostapenko@samsung.com>
Aug 17, 2017
f9afbba
2017-08-17 Richard Biener <rguenther@suse.de>
Aug 17, 2017
bfcbe68
Add the missing ChangeLog for r251076
Aug 17, 2017
276845d
* cp-tree.h (struct lang_type): Remove template_info field.
Aug 17, 2017
0529b46
[AArch64] Improve SIMD store of zero.
Aug 17, 2017
899af04
2017-08-17 Richard Biener <rguenther@suse.de>
Aug 17, 2017
03a511c
PR middle-end/81814
Aug 17, 2017
001cb3b
gcc/
Aug 17, 2017
49a669e
* lex.c (maybe_add_lang_type_raw): BOUND_TEMPLATE_TEMPLATE_PARMs
Aug 17, 2017
7fb56b6
Add missing ECF_NOTHROW flags to internal.def
Aug 17, 2017
a444fb0
PR c/81859 - [8 Regression] valgrind error from warn_about_normalization
Aug 17, 2017
1da51df
gcc/
Aug 17, 2017
2e3e387
* cp-tree.def (TEMPLATE_TEMPLATE_PARM): Remove stale comment.
Aug 17, 2017
bf495d9
2017-08-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Aug 17, 2017
bbb229e
Fix build of --enable-gather-detailed-mem-stats (PR bootstrap/81864).
Aug 17, 2017
419a98a
Daily bump.
Aug 18, 2017
c5bd988
cmd/go: pass -funwind-tables when compiling C code
Aug 18, 2017
4bec728
Add warn_if_not_aligned attribute
Aug 18, 2017
23bafc2
* c-parser.c (c_parser_postfix_expression): Remove unused code. Update
Aug 18, 2017
f04d365
misc/cgo/test: make cgo tests run on AIX
Aug 18, 2017
21b932f
PR libstdc++/81891 fix double-free in hashtable constructor
Aug 18, 2017
5505877
C++: fix ordering of missing std #include suggestion (PR c++/81514)
Aug 18, 2017
8bfbefe
Simplify allocator usage in unordered containers
Aug 18, 2017
9839559
PR go/81893
Aug 18, 2017
5e0bcf2
gcc/
Aug 18, 2017
e0d26ea
jit: make simpler reproducers
Aug 18, 2017
dcd0fe8
jit: fix segfault with autovectorization (PR tree-optimization/46805)
Aug 18, 2017
4551350
Daily bump.
Aug 19, 2017
a53321d
PR target/81894
Aug 19, 2017
13ff233
* config/i386/i386.h (OPTION_MASK_ISA_ROUND): Remove.
Aug 19, 2017
1b80bae
Daily bump.
Aug 20, 2017
10cafc8
PR ipa/77732
Aug 20, 2017
3331034
PR testsuite/81056
Aug 20, 2017
9b63942
Fix typo.
Aug 20, 2017
3be9fad
libstdc++/ChangeLog:
Aug 20, 2017
e68f766
Daily bump.
Aug 21, 2017
735d8b5
2017-08-21 Richard Biener <rguenther@suse.de>
Aug 21, 2017
272512a
2017-08-21 Richard Biener <rguenther@suse.de>
Aug 21, 2017
4397eb6
Fix bogus CONST_WIDE_INT hash
Aug 21, 2017
0fdb6b5
Pass rtx and index to read-md.c iterator routines
Aug 21, 2017
7b53e71
2017-08-21 Richard Biener <rguenther@suse.de>
Aug 21, 2017
a2a2648
Move vector_type_mode to tree.c
Aug 21, 2017
b93eff3
Tabify 2017-08-21 Richard Biener <rguenther@suse.de> entry
Aug 21, 2017
92903ce
PR target/79883
Aug 21, 2017
4303ef3
2017-08-21 Richard Biener <rguenther@suse.de>
Aug 21, 2017
d580f97
PR c++/81899
Aug 21, 2017
08c0ec4
* de.po: Update.
Aug 21, 2017
6b0b3b8
This patch simplifies pow (C, x) into exp (x * C1) if C > 0, C1 = log…
Aug 21, 2017
654ba22
Add a type_has_mode_precision_p helper function
Aug 21, 2017
718e6d5
Remove the frame size argument from function_prologue/epilogue
Aug 21, 2017
6b7c5f4
Simplify pad_below implementation
Aug 21, 2017
cd4d3be
PR libstdc++/81912 make std::__iterator_category constexpr
Aug 21, 2017
7b35a93
PR target/46091
Aug 21, 2017
a115c31
c-family/c/c++: pass optional vec<location_t> to c-format.c
Aug 21, 2017
43f0de1
C: use full locations within c_parser_expr_list's vec<location_t>
Aug 21, 2017
ea1f2cb
* g++.dg/template/pr81899.C: Fix c++03.
Aug 21, 2017
06340e7
* search.c (lookup_field_1): Assert TYPE is a class and VFIELD
Aug 21, 2017
e7fb31a
* search.c (lookup_field_r): Remove obsolete code for type-named
Aug 21, 2017
877e724
2017-08-21 Michael Meissner <meissner@linux.vnet.ibm.com>
Aug 21, 2017
b1296b8
Daily bump.
Aug 22, 2017
ac5aec4
2017-08-21 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Aug 22, 2017
d9e198a
gcc/
Aug 22, 2017
5b8ee4f
* wide-int.h (hwi_with_prec::hwi_with_prec): Sign extend.
Aug 22, 2017
1734e8a
2017-08-22 Richard Biener <rguenther@suse.de>
Aug 22, 2017
3e53664
2017-08-22 Richard Biener <rguenther@suse.de>
Aug 22, 2017
8b046e7
2017-08-22 Richard Biener <rguenther@suse.de>
Aug 22, 2017
bdc5a61
[AArch64] Fix label mode
Aug 22, 2017
a2a4330
2017-08-22 Yvan Roux <yvan.roux@linaro.org>
Aug 22, 2017
c51c2e3
2017-08-22 Richard Biener <rguenther@suse.de>
Aug 22, 2017
f78795c
[PowerPC/RTEMS] Enable -mcmodel option
Aug 22, 2017
d77250b
2017-08-22 Richard Biener <rguenther@suse.de>
Aug 22, 2017
2a0ece6
PR tree-optimization/81741
Aug 22, 2017
c32e6b9
[gcc/testsuite]
Aug 22, 2017
d0257d4
Make more use of paradoxical_subreg_p
Aug 22, 2017
53b9ff3
2017-08-22 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Aug 22, 2017
5a8af2b
PR target/71958: Error on -mx32 with -mabi=ms
Aug 22, 2017
e9321f7
docs: Explain how to use multiple file-name patterns in RUNTESTFLAGS
Aug 22, 2017
d33dd95
Add missing ChangeLog entry for previous commit
Aug 22, 2017
c842171
Move entry to correct ChangeLog.
Aug 22, 2017
85bd803
Daily bump.
Aug 23, 2017
c85275b
Fix broken MinGW build of gcc.c
Aug 23, 2017
3aa2a10
2017-08-23 Tamar Christina <tamar.christina@arm.com>
Aug 23, 2017
5865bc9
2017-08-23 Tamar Christina <tamar.christina@arm.com>
Aug 23, 2017
d6c70e3
2017-08-23 Richard Biener <rguenther@suse.de>
Aug 23, 2017
3715670
2017-08-23 Richard Biener <rguenther@suse.de>
Aug 23, 2017
8f29ae8
2017-08-23 Richard Biener <rguenther@suse.de>
Aug 23, 2017
e6011f4
[gcc/testsuite]
Aug 23, 2017
98d7f16
* config/i386/i386.opt: Remove unneeded Init(0) initializations.
Aug 23, 2017
2ac219a
testsuite: add param-type-mismatch.c/C testcases as a baseline
Aug 23, 2017
fcc3d95
* cp-tree.h (print_search_statistics,
Aug 23, 2017
163fe99
* cp-tree.h (maybe_version_functions): Declare.
Aug 23, 2017
912ee29
* semantics.c (finish_member_declaration): Move USING_DECL check
Aug 23, 2017
03d9ebc
* cp-tree.h (lookup_field_1, lookup_fnfields_slot,
Aug 23, 2017
f880841
PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted spac…
Aug 23, 2017
d57391e
Daily bump.
Aug 24, 2017
451feb4
Make more use of subreg_offset_from_lsb
Aug 24, 2017
bc4e06d
PR middle-end/81931
Aug 24, 2017
f76f114
2017-08-24 Richard Biener <rguenther@suse.de>
Aug 24, 2017
be72c86
2017-08-24 Richard Biener <rguenther@suse.de>
Aug 24, 2017
4e42a19
2017-08-23 Richard Biener <rguenther@suse.de>
Aug 24, 2017
c40aecf
* dwarf2out.c (MAX_ARTIFICIAL_LABEL_BYTES): Increase to 40.
Aug 24, 2017
0bdd794
C: fix logic within c_expr::get_location
Aug 24, 2017
0fad202
PR tree-optimization/81913
Aug 24, 2017
b14b4dc
* lib/target-supports.exp: Group together target-dependant checks.
Aug 24, 2017
a5079b7
Adds the powerpc equivalent mm_malloc.h header which is needed by
Aug 24, 2017
ca9219b
Conversion operators kept on single overload set
Aug 24, 2017
efcf68d
[gcc]
Aug 24, 2017
78dfd87
2017-08-24 François Dumont <fdumont@gcc.gnu.org>
Aug 24, 2017
d98076a
Daily bump.
Aug 25, 2017
8dd133d
PR middle-end/81908 - FAIL: gfortran.dg/alloc_comp_auto_array_2.f90 -…
Aug 25, 2017
2edde49
Conversion operators have a special name
Aug 25, 2017
1a0056b
PR81747, ICE in operator[]
Aug 25, 2017
1e2de45
* class.c (method_name_cmp, resort_method_name_cmp): Method names
Aug 25, 2017
74e2e48
Retabify 2017-08-24 Richard Biener <rguenther@suse.de>
Aug 25, 2017
ad5e611
[gcc]
Aug 25, 2017
7d753a1
2017-08-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
Aug 25, 2017
5af8672
Part 2/3 for contributing PPC64LE support for X86 SSE
Aug 25, 2017
306cc49
Part 3/3 for contributing PPC64LE support for X86 SSE instrisics.
Aug 25, 2017
df9c883
Daily bump.
Aug 26, 2017
4b2c8ec
Daily bump.
Aug 27, 2017
12c75f4
2017-08-27 Thomas Koenig <tkoenig@gcc.gnu.org>
Aug 27, 2017
bfe9c13
PR target/81995
Aug 27, 2017
f555028
Daily bump.
Aug 28, 2017
81346e4
2017-08-27 Jerry DeLisle <jvdelisle@gcc.gnu.org>
Aug 28, 2017
06cd065
optabs: ensure mem_thread_fence is a compiler barrier
Aug 28, 2017
8aaef9d
2017-08-28 Richard Biener <rguenther@suse.de>
Aug 28, 2017
d66dc3d
2017-08-28 Richard Biener <rguenther@suse.de>
Aug 28, 2017
ccff35d
2017-08-28 Richard Biener <rguenther@suse.de>
Aug 28, 2017
88df73d
* gcc.c (execute): Fold SIGPIPE handling into switch
Aug 28, 2017
2ecceb7
* cp-tree.h (insert_late_enum_def_into_classtype_sorted_fields):
Aug 28, 2017
fa01f3d
* cp-tree.h (lang_type): Replace sorted_fields vector with
Aug 28, 2017
7b67bc4
2017-08-25 Steve Ellcey <sellcey@cavium.com>
Aug 28, 2017
6d5cf4e
2017-08-28 Janus Weil <janus@gcc.gnu.org>
Aug 28, 2017
e1ce2ea
Daily bump.
Aug 29, 2017
506ac60
* tree-ssa-dom.c (class edge_info): Changed from a struct
Aug 29, 2017
a370df2
* tree-ssa-dom.c (edge_info::record_simple_equiv): Call
Aug 29, 2017
1c19938
2017-08-29 Richard Biener <rguenther@suse.de>
Aug 29, 2017
9810238
Fix --help=target (PR other/39851).
Aug 29, 2017
989f02d
Set the call nothrow flag more often
Aug 29, 2017
27c5dc8
Fix --help=target (Ada) (PR other/39851)
Aug 29, 2017
98a6abc
2017-08-29 Richard Biener <rguenther@suse.de>
Aug 29, 2017
3f98450
PR target/80993
Aug 29, 2017
1d5640e
Make expansion of balanced binary trees of switches on tree level.
Aug 29, 2017
7977b05
[gcc]
Aug 29, 2017
725e841
* config/i386/i386.opt (flag_fentry): Do not init to -1.
Aug 29, 2017
8bbf8d1
* gcc.target/i386/20030926-1.c: Add dg-additional-options.
Aug 29, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
PR target/81995
	* config/i386/i386.md (*<btsc><mode>): Change operand 2
	predicate to register_operand.  Reorder operands.
	(*btr<mode>): Ditto.
	(*<btsc><mode>_mask): Change operand 3 predicate to register_operand.
	(*btr<mode>_mask): Ditto.

testsuite/ChangeLog:

	PR target/81995
	* gcc.target/i386/pr46091-4.c: Add -mregparm=2 for 32bit targets.
	* gcc.target/i386/pr46091-4a.c: Ditto.



git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@251369 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
uros committed Aug 27, 2017
commit bfe9c13002a83b7a2e992a0f10f279fa6e0d8f71
9 changes: 9 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2017-08-27 Uros Bizjak <ubizjak@gmail.com>

PR target/81995
* config/i386/i386.md (*<btsc><mode>): Change operand 2
predicate to register_operand. Reorder operands.
(*btr<mode>): Ditto.
(*<btsc><mode>_mask): Change operand 3 predicate to register_operand.
(*btr<mode>_mask): Ditto.

2017-08-25 Steven Munroe <munroesj@gcc.gnu.org>

* config.gcc (powerpc*-*-*): Add xmmintrin.h and mm_malloc.h.
Expand Down
16 changes: 8 additions & 8 deletions gcc/config/i386/i386.md
Original file line number Diff line number Diff line change
Expand Up @@ -11011,11 +11011,11 @@
[(set (match_operand:SWI48 0 "register_operand" "=r")
(any_or:SWI48
(ashift:SWI48 (const_int 1)
(match_operand:QI 1 "register_operand" "r"))
(match_operand:SWI48 2 "nonimmediate_operand" "0")))
(match_operand:QI 2 "register_operand" "r"))
(match_operand:SWI48 1 "register_operand" "0")))
(clobber (reg:CC FLAGS_REG))]
"TARGET_USE_BT"
"<btsc>{<imodesuffix>}\t{%<k>1, %0|%0, %<k>1}"
"<btsc>{<imodesuffix>}\t{%<k>2, %0|%0, %<k>2}"
[(set_attr "type" "alu1")
(set_attr "prefix_0f" "1")
(set_attr "znver1_decode" "double")
Expand All @@ -11031,7 +11031,7 @@
(and:SI
(match_operand:SI 1 "register_operand")
(match_operand:SI 2 "const_int_operand")) 0))
(match_operand:SWI48 3 "nonimmediate_operand")))
(match_operand:SWI48 3 "register_operand")))
(clobber (reg:CC FLAGS_REG))]
"(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
== GET_MODE_BITSIZE (<MODE>mode)-1
Expand All @@ -11051,11 +11051,11 @@
[(set (match_operand:SWI48 0 "register_operand" "=r")
(and:SWI48
(rotate:SWI48 (const_int -2)
(match_operand:QI 1 "register_operand" "r"))
(match_operand:SWI48 2 "nonimmediate_operand" "0")))
(match_operand:QI 2 "register_operand" "r"))
(match_operand:SWI48 1 "register_operand" "0")))
(clobber (reg:CC FLAGS_REG))]
"TARGET_USE_BT"
"btr{<imodesuffix>}\t{%<k>1, %0|%0, %<k>1}"
"btr{<imodesuffix>}\t{%<k>2, %0|%0, %<k>2}"
[(set_attr "type" "alu1")
(set_attr "prefix_0f" "1")
(set_attr "znver1_decode" "double")
Expand All @@ -11071,7 +11071,7 @@
(and:SI
(match_operand:SI 1 "register_operand")
(match_operand:SI 2 "const_int_operand")) 0))
(match_operand:SWI48 3 "nonimmediate_operand")))
(match_operand:SWI48 3 "register_operand")))
(clobber (reg:CC FLAGS_REG))]
"(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
== GET_MODE_BITSIZE (<MODE>mode)-1
Expand Down
6 changes: 6 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2017-08-27 Uros Bizjak <ubizjak@gmail.com>

PR target/81995
* gcc.target/i386/pr46091-4.c: Add -mregparm=2 for 32bit targets.
* gcc.target/i386/pr46091-4a.c: Ditto.

2017-08-27 Thomas Koenig <tkoenig@gcc.gnu.org>

PR fortran/81974
Expand Down
1 change: 1 addition & 0 deletions gcc/testsuite/gcc.target/i386/pr46091-4.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-mregparm=2" { target ia32 } } */

int test_1 (int x, int n)
{
Expand Down
1 change: 1 addition & 0 deletions gcc/testsuite/gcc.target/i386/pr46091-4a.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* { dg-additional-options "-mregparm=2" { target ia32 } } */

int test_1 (int x, int n)
{
Expand Down