SSE 64 bit registers

greenfox

I was wondering, can I sum, or multiply, two float32 variables?

Is it worth doing all sums and multiplications that happens very much (e.g. in videogames while calculating simple bullet trajectories) in SSE registers?

MSalters

The whole point of SSE is indeed to process a lot of numbers quickly. And the ability to process two numbers at a time helps a lot with that. For instance, you can indeed add a step {dx, dy} to a coordinate {x, y} in a single instruction (ADDPS). It could in fact add 4 floats, since the registers are 128 bits, but that might be unnecessary for your case. ADDPD splits the 128 bits in 2x64 so it adds two doubles. ("float64")

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Coolest multi operation tricks to exploit 64bit registers ? (No SIMD/SSE/AVX)

From Dev

Assembly registers in 64-bit architecture

From Dev

Assembly registers in 64-bit architecture

From Dev

ASCII and 64bit Registers Assembly

From Dev

Assembly: 64 bit multiplication with 32-bit registers

From Dev

Wix: How to write to 32bit registers on 64 bit machine

From Dev

Function parameters transferred in registers on 64bit OS?

From Dev

64 bit registers in Protected Mode x86

From Dev

How CPU could have additional registers in 64bit mode?

From Dev

Can I add 64bit constants to 64bit registers?

From Dev

Can I add 64bit constants to 64bit registers?

From Dev

Assembly: division using the values in two 32-bit registers as if they were one 64-bit integer

From Dev

Recieving 32-bit registers from 64-bit nasm code

From Dev

Assembly: division using the values in two 32-bit registers as if they were one 64-bit integer

From Dev

Recieving 32-bit registers from 64-bit nasm code

From Dev

Shuffle between SSE integer registers

From Dev

C Bit masking registers

From Dev

C Bit masking registers

From Dev

The advantages of using 32bit registers/instructions in x86-64

From Dev

Using 8-bit registers in x86-64 indexed addressing modes

From Dev

Why 64 bit mode ( Long mode ) doesn't use segment registers?

From Dev

Why does the sys_write call in 64-bit addressing work fine with args in registers intended to 32-bit addressing

From Dev

Why does the sys_write call in 64-bit addressing work fine with args in registers intended to 32-bit addressing

From Dev

How to concatenate the low halves of two SSE registers?

From Dev

Are FPU/SSE/AVX registers not saved in core dumps?

From Dev

Accessing SSE vector registers using array notation

From Dev

How to concatenate the low halves of two SSE registers?

From Dev

Bit wise 'AND' an array of registers in Verilog

From Dev

32 bit registers act as 8 bit ones

Related Related

  1. 1

    Coolest multi operation tricks to exploit 64bit registers ? (No SIMD/SSE/AVX)

  2. 2

    Assembly registers in 64-bit architecture

  3. 3

    Assembly registers in 64-bit architecture

  4. 4

    ASCII and 64bit Registers Assembly

  5. 5

    Assembly: 64 bit multiplication with 32-bit registers

  6. 6

    Wix: How to write to 32bit registers on 64 bit machine

  7. 7

    Function parameters transferred in registers on 64bit OS?

  8. 8

    64 bit registers in Protected Mode x86

  9. 9

    How CPU could have additional registers in 64bit mode?

  10. 10

    Can I add 64bit constants to 64bit registers?

  11. 11

    Can I add 64bit constants to 64bit registers?

  12. 12

    Assembly: division using the values in two 32-bit registers as if they were one 64-bit integer

  13. 13

    Recieving 32-bit registers from 64-bit nasm code

  14. 14

    Assembly: division using the values in two 32-bit registers as if they were one 64-bit integer

  15. 15

    Recieving 32-bit registers from 64-bit nasm code

  16. 16

    Shuffle between SSE integer registers

  17. 17

    C Bit masking registers

  18. 18

    C Bit masking registers

  19. 19

    The advantages of using 32bit registers/instructions in x86-64

  20. 20

    Using 8-bit registers in x86-64 indexed addressing modes

  21. 21

    Why 64 bit mode ( Long mode ) doesn't use segment registers?

  22. 22

    Why does the sys_write call in 64-bit addressing work fine with args in registers intended to 32-bit addressing

  23. 23

    Why does the sys_write call in 64-bit addressing work fine with args in registers intended to 32-bit addressing

  24. 24

    How to concatenate the low halves of two SSE registers?

  25. 25

    Are FPU/SSE/AVX registers not saved in core dumps?

  26. 26

    Accessing SSE vector registers using array notation

  27. 27

    How to concatenate the low halves of two SSE registers?

  28. 28

    Bit wise 'AND' an array of registers in Verilog

  29. 29

    32 bit registers act as 8 bit ones

HotTag

Archive