E
E
Eugene Ordinary2021-12-25 14:31:17
C++ / C#
Eugene Ordinary, 2021-12-25 14:31:17

Is it true that operations with 8 bit numbers are slower than with 64 bit ones?

Is it true that on 64-bit machines, arithmetic operations with 8-bit integers are slower than with 64-bit ones, because operations with part of the register require auxiliary operations?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
freeExec, 2021-12-25
@evgeniy8086

Not true, in a 64-bit register, you can add 8 8-bit numbers at once.

V
vanyamba-electronics, 2021-12-25
@vanyamba-electronics

In ARM64 processors - yes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question