Help: bitwise operations on a 56 bit word 
Author Message
 Help: bitwise operations on a 56 bit word


: :   A variable of size n bits need not be held in a register of n bits.
: : The only need is that the variable be manipulated as if it had the
: : specified size.

: Then why bother to specify?  It can only mean that extra code will be
: needed to check the bounds of every single reference to the variable.

  As always, you prove to be an idiot.

  The only extra code that is needed is before comparisons.  When adding
or subtracting any upper bits are obviously irrelevant.  If they were
relevant - fool - then C certainly would not be able to function by
ignoring them.

: That might be nice for debugging purposes, but it will result in
: hideously slow production code.

  It will be somewhat slower if the compiler can not ensure that the
results are within range so as to avoid the truncations before
comparisons.

  So what? The machines with nonstandard register sizes should be
scrapped anyhow.

--
<---->



Sat, 30 Oct 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Help: bitwise operations on a 56 bit word

2. multiplier with 56 bit

3. error Logout 56, Help with

4. Doing bitwise AND operation in shell scripts

5. Bitwise operations

6. Bitwise Logical Operations?

7. bitwise operations

8. bitwise operations (try #2)

9. Question: Bitwise operations in Oberon

10. Bitwise operations on X's and Z's

11. Bitwise operations in Scheme

12. bitwise operation on 64 bits value, how?

 

 
Powered by phpBB® Forum Software