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

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

Issue 11377132: Support all fast elements kinds in the major array operations. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed comments (and rebased) Created 8 years, 1 month 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/heap.cc ('k') | src/ia32/macro-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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 381
382 // Check to see if maybe_number can be stored as a double in 382 // Check to see if maybe_number can be stored as a double in
383 // FastDoubleElements. If it can, store it at the index specified by key in 383 // FastDoubleElements. If it can, store it at the index specified by key in
384 // the FastDoubleElements array elements, otherwise jump to fail. 384 // the FastDoubleElements array elements, otherwise jump to fail.
385 void StoreNumberToDoubleElements(Register maybe_number, 385 void StoreNumberToDoubleElements(Register maybe_number,
386 Register elements, 386 Register elements,
387 Register key, 387 Register key,
388 Register scratch1, 388 Register scratch1,
389 XMMRegister scratch2, 389 XMMRegister scratch2,
390 Label* fail, 390 Label* fail,
391 bool specialize_for_processor); 391 bool specialize_for_processor,
392 int offset = 0);
392 393
393 // Compare an object's map with the specified map and its transitioned 394 // Compare an object's map with the specified map and its transitioned
394 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with 395 // elements maps if mode is ALLOW_ELEMENT_TRANSITION_MAPS. FLAGS are set with
395 // result of map compare. If multiple map compares are required, the compare 396 // result of map compare. If multiple map compares are required, the compare
396 // sequences branches to early_success. 397 // sequences branches to early_success.
397 void CompareMap(Register obj, 398 void CompareMap(Register obj,
398 Handle<Map> map, 399 Handle<Map> map,
399 Label* early_success, 400 Label* early_success,
400 CompareMapMode mode = REQUIRE_EXACT_MAP); 401 CompareMapMode mode = REQUIRE_EXACT_MAP);
401 402
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
998 } \ 999 } \
999 masm-> 1000 masm->
1000 #else 1001 #else
1001 #define ACCESS_MASM(masm) masm-> 1002 #define ACCESS_MASM(masm) masm->
1002 #endif 1003 #endif
1003 1004
1004 1005
1005 } } // namespace v8::internal 1006 } } // namespace v8::internal
1006 1007
1007 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_ 1008 #endif // V8_IA32_MACRO_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/ia32/macro-assembler-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698