Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PIC-safe assembly for librfxcodec #17

Merged
merged 16 commits into from
Sep 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/amd64/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
NAFLAGS += -DASM_ARCH_AMD64

AMD64_ASM = \
cpuid_amd64.asm \
rfxcodec_encode_dwt_shift_amd64_sse2.asm \
Expand Down
5 changes: 1 addition & 4 deletions src/amd64/cpuid_amd64.asm
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
%include "common.asm"

section .text

;The first six integer or pointer arguments are passed in registers
;RDI, RSI, RDX, RCX, R8, and R9

Expand Down Expand Up @@ -32,5 +30,4 @@ PROC cpuid_amd64
; restore registers
pop rbx
ret
align 16

END_OF_FILE
Loading