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

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

Issue 3327022: Custom call IC for Math.floor. (Closed)
Patch Set: Oops, forgot to upload the test Created 10 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
OLDNEW
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. 1 // Copyright 2006-2009 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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 void JumpIfNotNumber(Register reg, TypeInfo info, Label* on_not_number); 251 void JumpIfNotNumber(Register reg, TypeInfo info, Label* on_not_number);
252 252
253 // Assumes input is a heap number. Jumps on things out of range. Also jumps 253 // Assumes input is a heap number. Jumps on things out of range. Also jumps
254 // on the min negative int32. Ignores frational parts. 254 // on the min negative int32. Ignores frational parts.
255 void ConvertToInt32(Register dst, 255 void ConvertToInt32(Register dst,
256 Register src, // Can be the same as dst. 256 Register src, // Can be the same as dst.
257 Register scratch, // Can be no_reg or dst, but not src. 257 Register scratch, // Can be no_reg or dst, but not src.
258 TypeInfo info, 258 TypeInfo info,
259 Label* on_not_int32); 259 Label* on_not_int32);
260 260
261 void LoadPowerOf2(XMMRegister dst, Register scratch, int power);
262
261 // Abort execution if argument is not a number. Used in debug code. 263 // Abort execution if argument is not a number. Used in debug code.
262 void AbortIfNotNumber(Register object); 264 void AbortIfNotNumber(Register object);
263 265
264 // Abort execution if argument is not a smi. Used in debug code. 266 // Abort execution if argument is not a smi. Used in debug code.
265 void AbortIfNotSmi(Register object); 267 void AbortIfNotSmi(Register object);
266 268
267 // Abort execution if argument is a smi. Used in debug code. 269 // Abort execution if argument is a smi. Used in debug code.
268 void AbortIfSmi(Register object); 270 void AbortIfSmi(Register object);
269 271
270 // Abort execution if argument is a string. Used in debug code. 272 // Abort execution if argument is a string. Used in debug code.
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
653 } \ 655 } \
654 masm-> 656 masm->
655 #else 657 #else
656 #define ACCESS_MASM(masm) masm-> 658 #define ACCESS_MASM(masm) masm->
657 #endif 659 #endif
658 660
659 661
660 } } // namespace v8::internal 662 } } // namespace v8::internal
661 663
662 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 664 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698