This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/59672: Add -m16 support for x86
- From: Jakub Jelinek <jakub at redhat dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Uros Bizjak <ubizjak at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>, Richard Biener <rguenther at suse dot de>
- Date: Tue, 28 Jan 2014 17:41:39 +0100
- Subject: Re: PATCH: PR target/59672: Add -m16 support for x86
- Authentication-results: sourceware.org; auth=none
- References: <20140127194457 dot GA12183 at intel dot com> <CAFULd4YBgcMtNVX8_7yYJ_7NStPu+g0axqhBJLeUTazfwRTnSA at mail dot gmail dot com> <CAFULd4bWw1W25BjT70PDnefPHJ_xS1sjUF1iW283PPE4rqp4cg at mail dot gmail dot com> <CAMe9rOrAerx-7Mzn_MdCBrRYRxuUKWNEGJYSczf4H=95yJ-iGQ at mail dot gmail dot com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Jan 28, 2014 at 08:35:13AM -0800, H.J. Lu wrote:
> Here is a run-time test. It builds 16-bit image for BIOS and
> loads it into qemu-system-i386. OK to install?
Ugh, I'd say we don't want this kind of stuff in gcc testsuite.
A scan-assembler would be IMHO enough.
> PR target/59672
> * gcc.target/i386/m16/Makefile: New file.
> * gcc.target/i386/m16/m16.exp: Likewise.
> * gcc.target/i386/m16/include16/string.h: Likewise.
> * gcc.target/i386/m16/include16/sys16.h: Likewise.
> * gcc.target/i386/m16/lib16/conio.c: Likewise.
> * gcc.target/i386/m16/lib16/crt0.c: Likewise.
> * gcc.target/i386/m16/lib16/exit.c: Likewise.
> * gcc.target/i386/m16/lib16/strlen.c: Likewise.
> * gcc.target/i386/m16/run/run16.c: Likewise.
> * gcc.target/i386/m16/run/wrap.S: Likewise.
> * gcc.target/i386/m16/run/wwrap.S: Likewise.
> * gcc.target/i386/m16/test16/test1.c: Likewise.
Jakub