This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: more stormy16 opcodes


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]