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

Side by Side Diff: src/arm/macro-assembler-arm.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/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.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 969 matching lines...) Expand 10 before | Expand all | Expand 10 after
980 980
981 // --------------------------------------------------------------------------- 981 // ---------------------------------------------------------------------------
982 // Patching helpers. 982 // Patching helpers.
983 983
984 // Get the location of a relocated constant (its address in the constant pool) 984 // Get the location of a relocated constant (its address in the constant pool)
985 // from its load site. 985 // from its load site.
986 void GetRelocatedValueLocation(Register ldr_location, 986 void GetRelocatedValueLocation(Register ldr_location,
987 Register result); 987 Register result);
988 988
989 989
990 void ClampUint8(Register output_reg, Register input_reg);
991
992 void ClampDoubleToUint8(Register result_reg,
993 DoubleRegister input_reg,
994 DoubleRegister temp_double_reg);
995
996
990 private: 997 private:
991 void CallCFunctionHelper(Register function, 998 void CallCFunctionHelper(Register function,
992 ExternalReference function_reference, 999 ExternalReference function_reference,
993 Register scratch, 1000 Register scratch,
994 int num_reg_arguments, 1001 int num_reg_arguments,
995 int num_double_arguments); 1002 int num_double_arguments);
996 1003
997 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1004 void Jump(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
998 int CallSize(intptr_t target, RelocInfo::Mode rmode, Condition cond = al); 1005 int CallSize(intptr_t target, RelocInfo::Mode rmode, Condition cond = al);
999 void Call(intptr_t target, 1006 void Call(intptr_t target,
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
1087 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1094 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1088 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1095 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1089 #else 1096 #else
1090 #define ACCESS_MASM(masm) masm-> 1097 #define ACCESS_MASM(masm) masm->
1091 #endif 1098 #endif
1092 1099
1093 1100
1094 } } // namespace v8::internal 1101 } } // namespace v8::internal
1095 1102
1096 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 1103 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698