This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: more stormy16 opcodes
- From: Geoff Keating <geoffk at geoffk dot org>
- To: dj at redhat dot com
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 Nov 2002 21:03:16 -0800
- Subject: Re: more stormy16 opcodes
- References: <200211200411.gAK4BQ114544@greed.delorie.com>
> Date: Tue, 19 Nov 2002 23:11:26 -0500
> From: DJ Delorie <dj@redhat.com>
> Sanyo added a few more opcodes... ok?
The md file change is OK. Why were the builtins needed? GCC should
be able to generate the patterns from plain C, if you need special
names you can just do
#define __sdivlh(x,y) (short)((long)(x) / (short)(y))
> 2002-11-19 DJ Delorie <dj@redhat.com>
>
> * config/stormy16/stormy16.c (s16builtins,
> xstormy16_init_builtins, xstormy16_expand_builtin): New.
> * config/stormy16/stormy16.md (divmodhi4, sdivlh, udivlh): New.
--
- Geoffrey Keating <geoffk@geoffk.org>