This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/80569] i686: "shrx" instruction generated in 16-bit mode
- From: "ro at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 29 Jul 2017 20:58:10 +0000
- Subject: [Bug target/80569] i686: "shrx" instruction generated in 16-bit mode
- Auto-submitted: auto-generated
- References: <bug-80569-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80569
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ro at gcc dot gnu.org
--- Comment #10 from Rainer Orth <ro at gcc dot gnu.org> ---
There are some problems with the testcase:
* Solaris/x86 with /bin/as, I get
FAIL: gcc.target/i386/pr80569.c (test for excess errors)
Excess errors:
Assembler: pr80569.c
"/var/tmp//ccB_4KXd.s", line 2 : Illegal mnemonic
Near line: " .code16gcc"
"/var/tmp//ccB_4KXd.s", line 2 : Syntax error
Near line: " .code16gcc"
i386.c (x86_file_start) unconditionally emits .code16gcc without any check
that
the assembler supports it.
* on Linux/i686, I get
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.target/i386/pr80569.c:7:24:
warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
new from
gcc is called with-m16 -march=haswell -c -m64
Rainer