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

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

Issue 7014033: Support conversion of clamped double values for pixel arrays in Crankshaft. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review feedback Created 9 years, 7 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/x64/lithium-x64.cc ('k') | src/x64/macro-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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 // registers map and instance_type can be the same as heap_object. 758 // registers map and instance_type can be the same as heap_object.
759 Condition IsObjectStringType(Register heap_object, 759 Condition IsObjectStringType(Register heap_object,
760 Register map, 760 Register map,
761 Register instance_type); 761 Register instance_type);
762 762
763 // FCmp compares and pops the two values on top of the FPU stack. 763 // FCmp compares and pops the two values on top of the FPU stack.
764 // The flag results are similar to integer cmp, but requires unsigned 764 // The flag results are similar to integer cmp, but requires unsigned
765 // jcc instructions (je, ja, jae, jb, jbe, je, and jz). 765 // jcc instructions (je, ja, jae, jb, jbe, je, and jz).
766 void FCmp(); 766 void FCmp();
767 767
768 void ClampUint8(Register reg);
769
770 void ClampDoubleToUint8(XMMRegister input_reg,
771 XMMRegister temp_xmm_reg,
772 Register result_reg,
773 Register temp_reg);
774
768 // Abort execution if argument is not a number. Used in debug code. 775 // Abort execution if argument is not a number. Used in debug code.
769 void AbortIfNotNumber(Register object); 776 void AbortIfNotNumber(Register object);
770 777
771 // Abort execution if argument is a smi. Used in debug code. 778 // Abort execution if argument is a smi. Used in debug code.
772 void AbortIfSmi(Register object); 779 void AbortIfSmi(Register object);
773 780
774 // Abort execution if argument is not a smi. Used in debug code. 781 // Abort execution if argument is not a smi. Used in debug code.
775 void AbortIfNotSmi(Register object); 782 void AbortIfNotSmi(Register object);
776 void AbortIfNotSmi(const Operand& object); 783 void AbortIfNotSmi(const Operand& object);
777 784
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1253 masm->popfd(); \ 1260 masm->popfd(); \
1254 } \ 1261 } \
1255 masm-> 1262 masm->
1256 #else 1263 #else
1257 #define ACCESS_MASM(masm) masm-> 1264 #define ACCESS_MASM(masm) masm->
1258 #endif 1265 #endif
1259 1266
1260 } } // namespace v8::internal 1267 } } // namespace v8::internal
1261 1268
1262 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ 1269 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « src/x64/lithium-x64.cc ('k') | src/x64/macro-assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698