This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: (R5900) Implementing Vector Support
- From: Woon yung Liu <ysai187 at yahoo dot com>
- To: Richard Henderson <rth at redhat dot com>, Gcc Mailing List <gcc at gcc dot gnu dot org>
- Date: Thu, 19 May 2016 11:05:44 +0000 (UTC)
- Subject: Re: (R5900) Implementing Vector Support
- Authentication-results: sourceware.org; auth=none
- References: <23a57920-3e9e-05f9-e428-a7e5e89d4de9 at redhat dot com> <133091800 dot 362759 dot 1462978450117 dot JavaMail dot yahoo at mail dot yahoo dot com> <93d40024-8baf-f571-765e-3f3ae59961df at redhat dot com> <687383190 dot 1940916 dot 1463221310394 dot JavaMail dot yahoo at mail dot yahoo dot com> <850bcd56-a219-a153-b467-8414fa19c207 at redhat dot com> <300510214 dot 326837 dot 1463573792037 dot JavaMail dot yahoo at mail dot yahoo dot com> <e7ccb4e0-6b37-ea2c-01bb-4fff2742ca32 at redhat dot com>
- Reply-to: Woon yung Liu <ysai187 at yahoo dot com>
On Wednesday, May 18, 2016 11:41 PM, Richard Henderson <rth@redhat.com> wrote:
> You'd have to point me at your source to see what's gone wrong.
This is the function that causes the fault:
typedef short int __v8hi __attribute__ ((vector_size (16)));
__v8hi testv8mult(__v8hi v81, __v8hi v82)
{
return(v81 * v82);
}
The pattern being faulted is the mulv8hi3 instruction.