summaryrefslogtreecommitdiff
path: root/libavutil/x86_cpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/x86_cpu.h')
-rw-r--r--libavutil/x86_cpu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index 750e061c21..43619ad79d 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -31,6 +31,7 @@
# define REG_D "rdi"
# define REG_S "rsi"
# define PTR_SIZE "8"
+typedef int64_t x86_reg;
# define REG_SP "rsp"
# define REG_BP "rbp"
@@ -50,6 +51,7 @@
# define REG_D "edi"
# define REG_S "esi"
# define PTR_SIZE "4"
+typedef int32_t x86_reg;
# define REG_SP "esp"
# define REG_BP "ebp"