Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: src/x64/assembler-x64.h

Issue 582713002: [turbofan] IA: Float64ToUint32 supports mem operand (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 void movdqu(const Operand& dst, XMMRegister src); 1041 void movdqu(const Operand& dst, XMMRegister src);
1042 void movdqu(XMMRegister dst, const Operand& src); 1042 void movdqu(XMMRegister dst, const Operand& src);
1043 1043
1044 void movapd(XMMRegister dst, XMMRegister src); 1044 void movapd(XMMRegister dst, XMMRegister src);
1045 1045
1046 void psllq(XMMRegister reg, byte imm8); 1046 void psllq(XMMRegister reg, byte imm8);
1047 1047
1048 void cvttsd2si(Register dst, const Operand& src); 1048 void cvttsd2si(Register dst, const Operand& src);
1049 void cvttsd2si(Register dst, XMMRegister src); 1049 void cvttsd2si(Register dst, XMMRegister src);
1050 void cvttsd2siq(Register dst, XMMRegister src); 1050 void cvttsd2siq(Register dst, XMMRegister src);
1051 void cvttsd2siq(Register dst, const Operand& src);
1051 1052
1052 void cvtlsi2sd(XMMRegister dst, const Operand& src); 1053 void cvtlsi2sd(XMMRegister dst, const Operand& src);
1053 void cvtlsi2sd(XMMRegister dst, Register src); 1054 void cvtlsi2sd(XMMRegister dst, Register src);
1054 void cvtqsi2sd(XMMRegister dst, const Operand& src); 1055 void cvtqsi2sd(XMMRegister dst, const Operand& src);
1055 void cvtqsi2sd(XMMRegister dst, Register src); 1056 void cvtqsi2sd(XMMRegister dst, Register src);
1056 1057
1057 1058
1058 void cvtss2sd(XMMRegister dst, XMMRegister src); 1059 void cvtss2sd(XMMRegister dst, XMMRegister src);
1059 void cvtss2sd(XMMRegister dst, const Operand& src); 1060 void cvtss2sd(XMMRegister dst, const Operand& src);
1060 void cvtsd2ss(XMMRegister dst, XMMRegister src); 1061 void cvtsd2ss(XMMRegister dst, XMMRegister src);
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1309 DCHECK(is_uint3(code)); 1310 DCHECK(is_uint3(code));
1310 emit(0xC0 | code << 3 | rm_reg.low_bits()); 1311 emit(0xC0 | code << 3 | rm_reg.low_bits());
1311 } 1312 }
1312 1313
1313 // Emit the code-object-relative offset of the label's position 1314 // Emit the code-object-relative offset of the label's position
1314 inline void emit_code_relative_offset(Label* label); 1315 inline void emit_code_relative_offset(Label* label);
1315 1316
1316 // The first argument is the reg field, the second argument is the r/m field. 1317 // The first argument is the reg field, the second argument is the r/m field.
1317 void emit_sse_operand(XMMRegister dst, XMMRegister src); 1318 void emit_sse_operand(XMMRegister dst, XMMRegister src);
1318 void emit_sse_operand(XMMRegister reg, const Operand& adr); 1319 void emit_sse_operand(XMMRegister reg, const Operand& adr);
1320 void emit_sse_operand(Register reg, const Operand& adr);
1319 void emit_sse_operand(XMMRegister dst, Register src); 1321 void emit_sse_operand(XMMRegister dst, Register src);
1320 void emit_sse_operand(Register dst, XMMRegister src); 1322 void emit_sse_operand(Register dst, XMMRegister src);
1321 1323
1322 // Emit machine code for one of the operations ADD, ADC, SUB, SBC, 1324 // Emit machine code for one of the operations ADD, ADC, SUB, SBC,
1323 // AND, OR, XOR, or CMP. The encodings of these operations are all 1325 // AND, OR, XOR, or CMP. The encodings of these operations are all
1324 // similar, differing just in the opcode or in the reg field of the 1326 // similar, differing just in the opcode or in the reg field of the
1325 // ModR/M byte. 1327 // ModR/M byte.
1326 void arithmetic_op_8(byte opcode, Register reg, Register rm_reg); 1328 void arithmetic_op_8(byte opcode, Register reg, Register rm_reg);
1327 void arithmetic_op_8(byte opcode, Register reg, const Operand& rm_reg); 1329 void arithmetic_op_8(byte opcode, Register reg, const Operand& rm_reg);
1328 void arithmetic_op_16(byte opcode, Register reg, Register rm_reg); 1330 void arithmetic_op_16(byte opcode, Register reg, Register rm_reg);
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 private: 1592 private:
1591 Assembler* assembler_; 1593 Assembler* assembler_;
1592 #ifdef DEBUG 1594 #ifdef DEBUG
1593 int space_before_; 1595 int space_before_;
1594 #endif 1596 #endif
1595 }; 1597 };
1596 1598
1597 } } // namespace v8::internal 1599 } } // namespace v8::internal
1598 1600
1599 #endif // V8_X64_ASSEMBLER_X64_H_ 1601 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.cc ('k') | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698