This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils 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: [patch] MIPS: Trap instructions in division/multiplyexpansions


At Mon, 8 Jul 2002 21:16:58 +0000 (UTC), "Maciej W. Rozycki" wrote:
>  I believe it would be correct to embed a non-zero code in trap
> instructions used in division/multiply macro expansions, similarly to how
> breakpoint codes (6 and 7) are used in the non-trap versions.  The
> following patch implements it.  At least MIPS/Linux extracts these codes
> from both break and trap opcodes and uses them to determine whether
> SIGTRAP or SIGFPE should be sent.  Any comments? 

What do other OSes do for these cases?  (In particular, i'm wondering
what the SGI assembler does.)



cgd


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