gcc/gcc/testsuite
Jan Beulich 4f85313786 x86-64: {,V}CVT{,U}SI2Sx are ambiguous without suffix
For 64-bit these should not be emitted without suffix in AT&T mode (as
being ambiguous that way); the suffixes are benign for 32-bit. For
consistency also omit the suffix in Intel mode for {,V}CVTSI2SxQ.

The omission has originally (prior to rev 260691) lead to wrong code
being generated for the 64-bit unsigned-to-float/double conversions (as
gas guesses an L suffix instead of the required Q one when the operand
is in memory). In all remaining cases (being changed here) the omission
would "just" lead to warnings with future gas versions.

As a result, arrange to check for the L suffixes in 32-bit test cases.

In order for related test cases to actually test what they're supposed
to test, add (seemingly unrelated) a few empty "asm volatile()".
Presumably there are more where constant propagation voids the intended
effect of the tests, but these are ones helping make sure the assembler
actually still assembles correctly the output after the changes here.

From-SVN: r267833
2019-01-11 11:20:40 +00:00
..
ada
brig.dg Update copyright years. 2019-01-01 13:31:55 +01:00
c-c++-common teststuite - avoid parts of builtin-has-attribute tests requireing alias support. 2019-01-08 09:26:29 +00:00
config Update copyright years. 2019-01-01 13:31:55 +01:00
g++.dg decl.c (start_decl): Improve error location. 2019-01-11 09:02:43 +00:00
g++.old-deja Update copyright years. 2019-01-01 13:31:55 +01:00
g++.target re PR target/88785 (ICE in as_a, at machmode.h:353) 2019-01-11 00:20:19 +01:00
gcc.c-torture re PR middle-end/82564 (ICE at -O1 and above: in assign_stack_temp_for_type, at function.c:783) 2019-01-05 12:14:12 +01:00
gcc.dg re PR tree-optimization/88792 (wrong-code in RPO VN since r263875) 2019-01-10 18:58:08 +00:00
gcc.dg-selftests Update copyright years. 2019-01-01 13:31:55 +01:00
gcc.misc-tests Update copyright years. 2019-01-01 13:31:55 +01:00
gcc.src Update copyright years. 2019-01-01 13:31:55 +01:00
gcc.target x86-64: {,V}CVT{,U}SI2Sx are ambiguous without suffix 2019-01-11 11:20:40 +00:00
gcc.test-framework Update copyright years. 2019-01-01 13:31:55 +01:00
gdc.dg Update copyright years. 2019-01-01 13:31:55 +01:00
gdc.test Update copyright years. 2019-01-01 13:31:55 +01:00
gfortran.dg re PR fortran/59345 (_gfortran_internal_pack on compiler generated temps) 2019-01-11 06:32:10 +00:00
gfortran.fortran-torture Update copyright years. 2019-01-01 13:31:55 +01:00
gnat.dg Update copyright years. 2019-01-01 13:31:55 +01:00
go.dg Update copyright years. 2019-01-01 13:31:55 +01:00
go.go-torture/execute Update copyright years. 2019-01-01 13:31:55 +01:00
go.test Update copyright years. 2019-01-01 13:31:55 +01:00
jit.dg Fix jit test case (PR jit/88747) 2019-01-08 01:39:09 +00:00
lib target-supports.exp (check_effective_target_arm_v8_3a_complex_neon_ok_nocache, [...]): New. 2019-01-10 03:27:13 +00:00
obj-c++.dg PR other/16615 [3/5] 2019-01-09 16:41:36 -05:00
objc Update copyright years. 2019-01-01 13:31:55 +01:00
objc-obj-c++-shared Update copyright years. 2019-01-01 13:31:55 +01:00
objc.dg PR other/16615 [3/5] 2019-01-09 16:41:36 -05:00
selftests
.gitattributes
ChangeLog x86-64: {,V}CVT{,U}SI2Sx are ambiguous without suffix 2019-01-11 11:20:40 +00:00
ChangeLog-1993-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-2016
ChangeLog-2017
ChangeLog-2018 Update copyright years. 2019-01-01 13:31:55 +01:00
ChangeLog.graphite
ChangeLog.jit
ChangeLog.ptr
ChangeLog.tree-ssa
README Update copyright years. 2019-01-01 13:31:55 +01:00
README.compat Update copyright years. 2019-01-01 13:31:55 +01:00
README.gcc Update copyright years. 2019-01-01 13:31:55 +01:00

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This is a collection of tests for GCC. For further information about
the C testsuite, see README.gcc.

The driver that runs this testsuite is called DejaGnu and you will
need a current DejaGnu snapshot, which is available from
ftp://gcc.gnu.org/pub/gcc/infrastructure, for example.

These tests are included "as is". If any of them fails, do not report
a bug.  Bug reports for DejaGnu can go to bug-dejagnu@gnu.org.
Discussion and comments about this testsuite should be sent to
gcc@gcc.gnu.org; additions and changes to should go to sent to
gcc-patches@gcc.gnu.org.

The entire testsuite is invoked by `make check` at the top level of
the GCC tree. `make check-g++` runs the C++ testsuite only.

STRUCTURE OF THE G++ TESTSUITE

  g++.dg tests:

  All new tests should be placed in an appropriate subdirectory of g++.dg.

  g++.old-deja tests:

  g++.benjamin	Tests by Benjamin Koz
  g++.bob
  g++.brendan	Tests by Brendan Kehoe
  g++.bugs
  g++.eh  	Tests for exception handling
  g++.ext  	Tests for g++ extensions
  g++.gb  	Tests by Gerald Baumgartner
  g++.jason	Tests by Jason Merill
  g++.jeff	Tests by Jeffrey A Law
  g++.martin	Tests by Martin v. Löwis
  g++.mike	Tests by Mike Stump
  g++.niklas	Tests by Niklas Hallqvist
  g++.ns  	Tests for namespaces
  g++.other
  g++.pt  	Tests for templates
  g++.rfg
  g++.robertl	Tests from gcc-bugs@gcc.gnu.org, gathered by Robert Lipe
	
Finally, some random last minute notes by Mike Stump <mrs@cygnus.com>, on
how to run tests (in the GCC 2.7 era):

	runtest --tool g++ --srcdir ./testsuite

where 

	runtest	Is the name used to invoke DejaGnu.   If DejaGnu is not
		install this will be the relative path name for runtest.

	--tool	This tells DejaGnu which tool you are testing. It is
		mainly used to find the testsuite directories for a
		particular tool when several testsuites are in the
		same directory. (like the gcc and g++ testsuites)

	--srcdir This points to the top level of the directory
		containing the sources of the testsuite. This is
		./testsuite if you are in the directory that has the
		testsuite directory.


Copyright (C) 1998-2019 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.