POV-Ray : Newsgroups : povray.off-topic : Damn that's sweet. : Re: Damn that's sweet. Server Time
4 Sep 2024 03:20:54 EDT (-0400)
  Re: Damn that's sweet.  
From: Clarence1898
Date: 27 Jul 2010 14:30:00
Message: <web.4c4f2479b519de59dda002d60@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Warp wrote:
> >   2's complement binary registers require simpler circuitry to be operated
> > with, compared to BCD registers, hence making the CPU design simpler (and
> > hence less expensive).
>
> Until it's time to scale the decimal place.
>
> Add a 30-digit number with two decimal places to a 30-digit number with 4
> decimal places in binary.
>
> Now do the same in BCD.
>
> But, surely, Intel's mainframe CPU division doesn't know anything about
> efficiency of instructions and data.
>
> --
> Darren New, San Diego CA, USA (PST)
>     C# - a language whose greatest drawback
>     is that its best implementation comes
>     from a company that doesn't hate Microsoft.

Another reason for retaining hardware decimal instructions would be for backward
compatibility.  The company I work for has thousands of cobol programs that use
decimal instructions. It would be impossible to upgrade to the new processor
without that feature.  IBM has to insure the upgrade path for it's customers is
as painless as possible.

Isaac.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.