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

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

Issue 569015: ARMv7 ubfx support from Kun Zhang (zhangk@codeaurora.org), Code Aurora (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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/disasm-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 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 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 250
251 inline void BranchOnNotSmi(Register value, Label* not_smi_label) { 251 inline void BranchOnNotSmi(Register value, Label* not_smi_label) {
252 tst(value, Operand(kSmiTagMask)); 252 tst(value, Operand(kSmiTagMask));
253 b(ne, not_smi_label); 253 b(ne, not_smi_label);
254 } 254 }
255 255
256 // Generates code for reporting that an illegal operation has 256 // Generates code for reporting that an illegal operation has
257 // occurred. 257 // occurred.
258 void IllegalOperation(int num_arguments); 258 void IllegalOperation(int num_arguments);
259 259
260 // Get the number of least significant bits from a register
261 void GetLeastBitsFromSmi(Register dst, Register src, int num_least_bits);
262
260 // Uses VFP instructions to Convert a Smi to a double. 263 // Uses VFP instructions to Convert a Smi to a double.
261 void IntegerToDoubleConversionWithVFP3(Register inReg, 264 void IntegerToDoubleConversionWithVFP3(Register inReg,
262 Register outHighReg, 265 Register outHighReg,
263 Register outLowReg); 266 Register outLowReg);
264 267
265 268
266 // --------------------------------------------------------------------------- 269 // ---------------------------------------------------------------------------
267 // Runtime calls 270 // Runtime calls
268 271
269 // Call a code stub. 272 // Call a code stub.
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 436 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
434 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 437 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
435 #else 438 #else
436 #define ACCESS_MASM(masm) masm-> 439 #define ACCESS_MASM(masm) masm->
437 #endif 440 #endif
438 441
439 442
440 } } // namespace v8::internal 443 } } // namespace v8::internal
441 444
442 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ 445 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « src/arm/disasm-arm.cc ('k') | src/arm/macro-assembler-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698