Subject: Re: major revision of kernel 'evcnt' interfaces.
To:, Anders Magnusson <>
From: Matt Thomas <>
List: tech-kern
Date: 06/03/2000 15:35:23
At 03:13 PM 6/3/2000 -0700, Jason R Thorpe wrote:
>On Sun, Jun 04, 2000 at 12:02:23AM +0200, Anders Magnusson wrote:
>  > > Sounds like it's time to add a new pattern to!!  :-)
>  > >
>  > Eh, new pattern? There are no 64-bit add/sub insn's on vax.
>  > (but there are move, shift and other...)
>  > Microcode hacking maybe? :-)
> From a discussion w/ Matt Thomas, sounds like 64-bit add can be
>done with two instructions (tho, I don't have the ICB backlock
>anymore).  If GCC isn't emitting those two insns to do a 64-bit
>add, well, add a new pattern :-)

incl    dst
adwc    $0, dst+4

Gcc can emit the adwc but it isn't the best at it.  But instead I've
incorporated support for counting interrupts in the cnm_idispatch in
subr.s.  I'll add assembler for doing hardclock as well.
Matt Thomas               Internet:
3am Software Foundry      WWW URL:
Cupertino, CA             Disclaimer: I avow all knowledge of this message