diff options
author | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-11-17 12:09:07 +0200 |
---|---|---|
committer | Jukka Ojanen <jukka.ojanen@linkotec.net> | 2014-11-17 12:09:07 +0200 |
commit | 3a44c5ebd57ea10d69b883b212ebd7a773fe7a43 (patch) | |
tree | 5f8110090bfe769b87b9bfd424b3cb115fcfbdee /src | |
parent | b3ff6d450356851f6760883bfd9f501fdcfefa61 (diff) | |
parent | 49c443ba7bc74893422e6f7cee9e569edfef1393 (diff) | |
download | ffts-3a44c5ebd57ea10d69b883b212ebd7a773fe7a43.zip ffts-3a44c5ebd57ea10d69b883b212ebd7a773fe7a43.tar.gz |
Merge commit '49c443ba7bc74893422e6f7cee9e569edfef1393'
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/x64/x64-codegen.h | 33 |
1 files changed, 27 insertions, 6 deletions
diff --git a/src/arch/x64/x64-codegen.h b/src/arch/x64/x64-codegen.h index 1be7d80..02b9907 100644 --- a/src/arch/x64/x64-codegen.h +++ b/src/arch/x64/x64-codegen.h @@ -1123,13 +1123,25 @@ typedef union { #define x64_sse_cvttsd2si_reg_xreg_size(inst,reg,xreg,size) emit_sse_reg_reg_size ((inst), (reg), (xreg), 0xf2, 0x0f, 0x2c, (size)) -#define x64_sse_addps_reg_reg(inst,dreg,reg) emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x58) +#define x64_sse_addps_reg_reg(inst, dreg, reg) \ + emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x58) + +#define x64_sse_addps_reg_reg_size(inst, dreg, reg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (reg), 0x0f, 0x58, size) #define x64_sse_divps_reg_reg(inst,dreg,reg) emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x5e) -#define x64_sse_mulps_reg_reg(inst,dreg,reg) emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x59) +#define x64_sse_mulps_reg_reg(inst, dreg, reg) \ + emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x59) + +#define x64_sse_mulps_reg_reg_size(inst, dreg, reg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (reg), 0x0f, 0x59, size) -#define x64_sse_subps_reg_reg(inst,dreg,reg) emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x5c) +#define x64_sse_subps_reg_reg(inst, dreg, reg) \ + emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x5c) + +#define x64_sse_subps_reg_reg_size(inst, dreg, reg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (reg), 0x0f, 0x5c, size) #define x64_sse_maxps_reg_reg(inst,dreg,reg) emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x5f) @@ -1422,11 +1434,17 @@ typedef union { #define x64_movd_xreg_membase(inst,dreg,basereg,disp) emit_sse_reg_membase((inst), (dreg), (basereg), (disp), 0x66, 0x0f, 0x6e) -#define x64_sse_movlhps_reg_reg(inst,dreg,sreg) \ +#define x64_sse_movhlps_reg_reg(inst, dreg, sreg) \ + emit_sse_reg_reg_op2((inst), (dreg), (sreg), 0x0f, 0x12) + +#define x64_sse_movhlps_reg_reg_size(inst, dreg, sreg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (sreg), 0x0f, 0x12, size) + +#define x64_sse_movlhps_reg_reg(inst, dreg, sreg) \ emit_sse_reg_reg_op2((inst), (dreg), (sreg), 0x0f, 0x16) -#define x64_sse_movhlps_reg_reg(inst,dreg,sreg) \ - emit_sse_reg_reg_op2((inst), (dreg), (sreg), 0x0f, 0x12) +#define x64_sse_movlhps_reg_reg_size(inst, dreg, sreg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (sreg), 0x0f, 0x16, size) #define x64_sse_movups_membase_reg(inst, basereg, disp, reg) \ emit_sse_membase_reg_op2((inst), (basereg), (disp), (reg), 0x0f, 0x11) @@ -1461,6 +1479,9 @@ typedef union { #define x64_sse_movaps_reg_reg(inst, dreg, reg) \ emit_sse_reg_reg_op2((inst), (dreg), (reg), 0x0f, 0x28) +#define x64_sse_movaps_reg_reg_size(inst, dreg, reg, size) \ + emit_sse_reg_reg_op2_size((inst), (dreg), (reg), 0x0f, 0x28, size) + #define x64_sse_movntps_membase_reg(inst, basereg, disp, reg) \ emit_sse_membase_reg_op2((inst), (basereg), (disp), (reg), 0x0f, 0x2b) |