Skip to content
Snippets Groups Projects
Commit 55bf33f3 authored by Alexandre Oliva's avatar Alexandre Oliva Committed by Alexandre Oliva
Browse files

[testsuite] add x86 effective target

I got tired of repeating the conditional that recognizes ia32 or
x86_64, and introduced 'x86' as a shorthand for that, adjusting all
occurrences in target-supports.exp, to set an example.  I found some
patterns that recognized i?86* and x86_64*, but I took those as likely
cut&pastos instead of trying to preserve those weirdnesses.


for  gcc/ChangeLog

	* doc/sourcebuild.texi: Add x86 effective target.

for  gcc/testsuite/ChangeLog

	* lib/target-supports.exp (check_effective_target_x86): New.
	Replace all uses of i?86-*-* and x86_64-*-* in this file.
parent e6f5fade
No related branches found
No related tags found
No related merge requests found
...@@ -2798,6 +2798,9 @@ Target supports the execution of @code{user_msr} instructions. ...@@ -2798,6 +2798,9 @@ Target supports the execution of @code{user_msr} instructions.
@item vect_cmdline_needed @item vect_cmdline_needed
Target requires a command line argument to enable a SIMD instruction set. Target requires a command line argument to enable a SIMD instruction set.
@item x86
Target is ia32 or x86_64.
@item xorsign @item xorsign
Target supports the xorsign optab expansion. Target supports the xorsign optab expansion.
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment