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

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

Issue 10831409: Fix rounding in Uint8ClampedArray setter. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fix manual rounding Created 8 years, 4 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/arm/macro-assembler-arm.cc ('k') | src/ia32/assembler-ia32.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 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 void frndint(); 976 void frndint();
977 977
978 void sahf(); 978 void sahf();
979 void setcc(Condition cc, Register reg); 979 void setcc(Condition cc, Register reg);
980 980
981 void cpuid(); 981 void cpuid();
982 982
983 // SSE2 instructions 983 // SSE2 instructions
984 void cvttss2si(Register dst, const Operand& src); 984 void cvttss2si(Register dst, const Operand& src);
985 void cvttsd2si(Register dst, const Operand& src); 985 void cvttsd2si(Register dst, const Operand& src);
986 void cvtsd2si(Register dst, XMMRegister src);
986 987
987 void cvtsi2sd(XMMRegister dst, Register src) { cvtsi2sd(dst, Operand(src)); } 988 void cvtsi2sd(XMMRegister dst, Register src) { cvtsi2sd(dst, Operand(src)); }
988 void cvtsi2sd(XMMRegister dst, const Operand& src); 989 void cvtsi2sd(XMMRegister dst, const Operand& src);
989 void cvtss2sd(XMMRegister dst, XMMRegister src); 990 void cvtss2sd(XMMRegister dst, XMMRegister src);
990 void cvtsd2ss(XMMRegister dst, XMMRegister src); 991 void cvtsd2ss(XMMRegister dst, XMMRegister src);
991 992
992 void addsd(XMMRegister dst, XMMRegister src); 993 void addsd(XMMRegister dst, XMMRegister src);
993 void subsd(XMMRegister dst, XMMRegister src); 994 void subsd(XMMRegister dst, XMMRegister src);
994 void mulsd(XMMRegister dst, XMMRegister src); 995 void mulsd(XMMRegister dst, XMMRegister src);
995 void divsd(XMMRegister dst, XMMRegister src); 996 void divsd(XMMRegister dst, XMMRegister src);
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
1222 private: 1223 private:
1223 Assembler* assembler_; 1224 Assembler* assembler_;
1224 #ifdef DEBUG 1225 #ifdef DEBUG
1225 int space_before_; 1226 int space_before_;
1226 #endif 1227 #endif
1227 }; 1228 };
1228 1229
1229 } } // namespace v8::internal 1230 } } // namespace v8::internal
1230 1231
1231 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1232 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | src/ia32/assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698