mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 04:01:36 +01:00
x86 assembly: addpd
This commit is contained in:
10
README.adoc
10
README.adoc
@@ -11578,7 +11578,12 @@ Sources:
|
||||
* link:userland/arch/arm/add.S[]
|
||||
* link:userland/arch/aarch64/add.S[]
|
||||
|
||||
This verifies that the venerable `add` instruction and our setup are working.
|
||||
These examples use the venerable ADD instruction to:
|
||||
|
||||
* introduce the basics of how a given assembly works: how many inputs / outputs, who is input and output, can it use memory or just registers, etc.
|
||||
+
|
||||
It is then a big copy paste for most other data instructions.
|
||||
* verify that the venerable `add` instruction and our assertions are working
|
||||
|
||||
Then, modify that program to make the assertion fail:
|
||||
|
||||
@@ -11849,7 +11854,8 @@ History:
|
||||
* link:https://en.wikipedia.org/wiki/MMX_(instruction_set)[MMX]: 1997
|
||||
* link:https://en.wikipedia.org/wiki/Streaming_SIMD_Extensions[SSE]: Streaming SIMD Extensions. 1999. 128-bit XMM registers.
|
||||
* link:https://en.wikipedia.org/wiki/SSE2[SSE2]: 2004
|
||||
** link:userland/arch/x86_64/paddq.S[]
|
||||
** link:userland/arch/x86_64/addpd.S[]: `ADDPS`, `ADDPD`
|
||||
** link:userland/arch/x86_64/paddq.S[]: `PADDQ`, `PADDL`, `PADDW`, `PADDB`
|
||||
* link:https://en.wikipedia.org/wiki/SSE3[SSE3]: 2006
|
||||
* link:https://en.wikipedia.org/wiki/SSE4[SSE4]: 2006
|
||||
* link:https://en.wikipedia.org/wiki/Advanced_Vector_Extensions[AVX]: Advanced Vector Extensions. 2011. 256-bit YMM registers. Extension of XMM.
|
||||
|
||||
Reference in New Issue
Block a user