/external/v8/test/cctest/ |
test-disasm-x64.cc | 64 // Short immediate instructions 65 __ addq(rax, Immediate(12345678)); 66 __ or_(rax, Immediate(12345678)); 67 __ subq(rax, Immediate(12345678)); 68 __ xor_(rax, Immediate(12345678)); 69 __ and_(rax, Immediate(12345678)); 85 __ addq(Operand(rbp, rcx, times_4, 12), Immediate(12)); 88 __ addq(rbx, Immediate(12)); 91 __ and_(rdx, Immediate(3)); 93 __ cmpq(rdx, Immediate(3)) [all...] |
test-assembler-x64.cc | 42 using v8::internal::Immediate; 279 __ movq(rax, Immediate(-3)); 284 __ addq(rax, Immediate(7)); 286 __ cmpq(rax, Immediate(20)); 289 __ cmpq(rax, Immediate(25)); 294 __ movq(rax, Immediate(0x11FEED00)); 297 __ addq(rax, Immediate(-0x1100)); 299 __ cmpq(rax, Immediate(0x11FE8000)); 302 __ cmpq(rax, Immediate(0x11FE7600)); 305 __ movq(rax, Immediate(1)) [all...] |
test-macro-assembler-x64.cc | 43 using v8::internal::Immediate; 109 __ movq(rdx, Immediate(-1)); 143 __ movl(rax, Immediate(id)); 202 __ movl(rax, Immediate(id + 1)); 205 __ movl(rax, Immediate(id + 2)); 209 __ movl(rax, Immediate(id + 3)); 212 __ movl(rax, Immediate(id + 4)); 222 __ movl(rax, Immediate(id + 9)); 226 __ movl(rax, Immediate(id + 10)); 231 __ movl(rax, Immediate(id + 11)) [all...] |
test-hashing.cc | 59 __ mov(eax, Immediate(0)); 60 __ mov(ebx, Immediate(string.at(0))); 63 __ mov(ebx, Immediate(string.at(i))); 75 __ movq(rax, Immediate(0)); 76 __ movq(rbx, Immediate(string.at(0))); 79 __ movq(rbx, Immediate(string.at(i))); 123 __ mov(eax, Immediate(key)); 131 __ movq(rax, Immediate(key));
|
test-disasm-ia32.cc | 64 // Short immediate instructions 66 __ add(eax, Immediate(12345678)); 68 __ sub(eax, Immediate(12345678)); 89 __ add(Operand(ebp, ecx, times_4, 12), Immediate(12)); 92 __ add(ebx, Immediate(12)); 101 __ cmp(Operand(ebp, ecx, times_4, 0), Immediate(1000)); 135 __ push(Immediate(12)); 136 __ push(Immediate(23456)); 164 __ mov(Operand(ebx, ecx, times_4, 10000), Immediate(12345)); 178 __ test(Operand(ebx, ecx, times_4, 10000), Immediate(123456)) [all...] |
/external/v8/src/x64/ |
assembler-x64.h | 359 class Immediate BASE_EMBEDDED { 361 explicit Immediate(int32_t value) : value_(value) {} 666 void push(Immediate value); 676 void enter(Immediate size); 681 void movb(Register dst, Immediate imm); 691 void movl(const Operand& dst, Immediate imm); 692 // Load a 32-bit immediate value, zero-extended to 64 bits. 693 void movl(Register dst, Immediate imm32); 700 // Sign extends immediate 32-bit value to 64 bits. 701 void movq(Register dst, Immediate x) [all...] |
regexp-macro-assembler-x64.cc | 153 __ addq(rdi, Immediate(by * char_size())); 162 __ addq(register_location(reg), Immediate(by)); 182 __ cmpl(current_character(), Immediate(c)); 188 __ cmpl(current_character(), Immediate(limit)); 196 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); 208 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); 218 __ cmpl(current_character(), Immediate(limit)); 238 __ cmpl(rdi, Immediate(-(byte_offset + byte_length))); 254 Immediate(static_cast<int8_t>(str[0]))); 256 // Don't use 16-bit immediate. The size changing prefix throws of [all...] |
macro-assembler-x64.cc | 216 addq(scratch, Immediate(kPointerSize)); 222 testq(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit)); 274 and_(scratch, Immediate(static_cast<int32_t>(HEAP->NewSpaceMask()))); 309 testb(dst, Immediate((1 << kPointerSizeLog2) - 1)); 469 testq(rsp, Immediate(frame_alignment_mask)); 553 addq(rsp, Immediate(num_arguments * kPointerSize)); 569 and_(hash, Immediate(String::kArrayIndexValueMask)); 570 shr(hash, Immediate(String::kHashShift)); 702 addl(Operand(base_reg, kLevelOffset), Immediate(1)); 721 subl(Operand(base_reg, kLevelOffset), Immediate(1)) [all...] |
code-stubs-x64.cc | 189 __ cmpq(rcx, Immediate(0)); 381 __ cmpq(rax, Immediate(size >> kPointerSizeLog2)); 443 Immediate(1 << Map::kIsUndetectable)); 619 __ shr(double_exponent, Immediate(64 - HeapNumber::kExponentBits)); 620 __ subl(double_exponent, Immediate(HeapNumber::kExponentBias)); 622 __ cmpl(double_exponent, Immediate(63)); 630 __ cmpl(double_exponent, Immediate(83)); 803 __ shl(kScratchRegister, Immediate(63)); 826 __ shl(kScratchRegister, Immediate(63)); [all...] |
codegen-x64.cc | 158 __ testb(rax, Immediate(5)); 171 __ testl(rax, Immediate(0x400 /* C2 */)); 181 __ testb(rax, Immediate(5)); 200 __ testb(rax, Immediate(0x3f /* Any Exception*/)); 487 __ testb(result, Immediate(kIsIndirectStringMask)); 492 __ testb(result, Immediate(kSlicedNotConsMask)); 523 __ testb(result, Immediate(kStringRepresentationMask)); 531 __ testb(result, Immediate(kIsIndirectStringMask)); 536 __ testb(result, Immediate(kShortExternalStringTag)); 540 __ testb(result, Immediate(kStringEncodingMask)) [all...] |
debug-x64.cc | 124 __ sar(kScratchRegister, Immediate(32)); 153 __ shl(kScratchRegister, Immediate(32)); 166 __ addq(rsp, Immediate(kPointerSize)); 313 __ movq(Operand(rax, 0), Immediate(0));
|
builtins-x64.cc | 71 __ addq(rax, Immediate(num_extra_args + 1)); 108 __ cmpq(Operand(kScratchRegister, 0), Immediate(0)); 155 __ shl(rdi, Immediate(kPointerSizeLog2)); 200 __ or_(rbx, Immediate(kHeapObjectTag)); 254 __ addq(rcx, Immediate(kPointerSize)); 264 __ or_(rdi, Immediate(kHeapObjectTag)); // add the heap tag 480 __ addq(rcx, Immediate(1)); 588 __ cmpq(rcx, Immediate(FullCodeGenerator::NO_REGISTERS)); 594 __ cmpq(rcx, Immediate(FullCodeGenerator::TOS_REG)); 668 Immediate(1 << SharedFunctionInfo::kStrictModeBitWithinByte)) [all...] |
/external/v8/src/ia32/ |
macro-assembler-ia32.cc | 64 and_(scratch, Immediate(~Page::kPageAlignmentMask)); 66 mov(scratch, Immediate(~Page::kPageAlignmentMask)); 101 add(scratch, Immediate(kPointerSize)); 106 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit)); 134 Set(result_reg, Immediate(0)); 141 test(result_reg, Immediate(0xFFFFFF00)); 143 Set(result_reg, Immediate(255)); 150 test(reg, Immediate(0xFFFFFF00)); 171 test(value, Immediate(kSmiTagMask)); 190 mov(value, Immediate(BitCast<int32_t>(kZapValue))) [all...] |
assembler-ia32-inl.h | 276 Immediate::Immediate(int x) { 282 Immediate::Immediate(const ExternalReference& ext) { 288 Immediate::Immediate(Label* internal_offset) { 294 Immediate::Immediate(Handle<Object> handle) { 309 Immediate::Immediate(Smi* value) [all...] |
regexp-macro-assembler-ia32.cc | 137 __ add(edi, Immediate(by * char_size())); 146 __ add(register_location(reg), Immediate(by)); 155 __ add(ebx, Immediate(masm_->CodeObject())); 180 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); 192 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); 222 __ cmp(edi, Immediate(-(byte_offset + byte_length))); 240 // Don't use 16-bit immediate. The size changing prefix throws off 257 __ cmp(Operand(ebx, byte_offset + i), Immediate(combined_chars)); 268 Immediate(*reinterpret_cast<const int*>(&str[i]))); 271 // Avoid a 16-bit immediate operation. It uses the length-changin [all...] |
codegen-ia32.cc | 172 Immediate(OS::kMinComplexMemCopy)); 196 __ add(edx, Immediate(16)); 203 __ test(src, Immediate(0x0F)); 218 __ add(src, Immediate(0x20)); 222 __ add(dst, Immediate(0x20)); 230 __ test(count, Immediate(0x10)); 233 __ add(src, Immediate(0x10)); 235 __ add(dst, Immediate(0x10)); 264 __ add(src, Immediate(0x20)); 268 __ add(dst, Immediate(0x20)) [all...] |
full-codegen-ia32.cc | 63 __ test(reg, Immediate(kSmiTagMask)); 70 __ test(reg, Immediate(kSmiTagMask)); 78 __ test(eax, Immediate(delta_to_patch_site)); 155 Immediate(isolate()->factory()->undefined_value())); 172 __ push(Immediate(isolate()->factory()->undefined_value())); 174 __ mov(eax, Immediate(isolate()->factory()->undefined_value())); 237 __ SafePush(Immediate(Smi::FromInt(num_parameters))); 310 __ Set(eax, Immediate(Smi::FromInt(0))); 315 __ mov(ebx, Immediate(profiling_counter_)); 317 Immediate(Smi::FromInt(delta))) [all...] |
debug-ia32.cc | 120 __ test(reg, Immediate(0xc0000000)); 131 __ Set(eax, Immediate(0)); // No arguments. 132 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); 143 __ Set(reg, Immediate(kDebugZapValue)); 160 __ add(esp, Immediate(kPointerSize)); 307 __ mov(Operand::StaticVariable(restarter_frame_function_slot), Immediate(0));
|
code-stubs-ia32.cc | 54 __ cmp(ebx, Immediate(factory->heap_number_map())); 89 __ mov(ebx, Immediate(factory->empty_fixed_array())); 93 Immediate(factory->the_hole_value())); 98 Immediate(factory->undefined_value())); 115 __ push(Immediate(factory->false_value())); 136 Immediate(Smi::FromInt(length))); 139 __ Set(ebx, Immediate(0)); // Set to NULL. 187 Immediate(Smi::FromInt(length))); 398 __ cmp(eax, Immediate(size >> kPointerSizeLog2)); 465 __ Set(tos_, Immediate(0)) [all...] |
assembler-ia32.h | 266 class Immediate BASE_EMBEDDED { 268 inline explicit Immediate(int x); 269 inline explicit Immediate(const ExternalReference& ext); 270 inline explicit Immediate(Handle<Object> handle); 271 inline explicit Immediate(Smi* value); 272 inline explicit Immediate(Address addr); 274 static Immediate CodeRelativeOffset(Label* label) { 275 return Immediate(label); 287 inline explicit Immediate(Label* value); 390 // A Displacement describes the 32bit immediate field of an instruction whic [all...] |
stub-cache-ia32.cc | 88 __ add(extra, Immediate(Code::kHeaderSize - kHeapObjectTag)); 130 __ add(offset, Immediate(Code::kHeaderSize - kHeapObjectTag)); 176 Immediate(masm->isolate()->factory()->hash_table_map())); 249 __ add(offset, Immediate(flags)); 286 __ Set(prototype, Immediate(Handle<Map>(function->initial_map()))); 323 __ test(scratch, Immediate(kNotStringTag)); 404 __ mov(scratch, Immediate(interceptor)); 441 __ push(Immediate(Smi::FromInt(0))); 458 __ add(esp, Immediate(kPointerSize * kFastApiCallArguments)); 494 __ mov(Operand(esp, 3 * kPointerSize), Immediate(call_data)) [all...] |
builtins-ia32.cc | 72 __ add(eax, Immediate(num_extra_args + 1)); 107 __ cmp(Operand::StaticVariable(debug_step_in_fp), Immediate(0)); 196 __ or_(ebx, Immediate(kHeapObjectTag)); 249 __ add(eax, Immediate(kPointerSize)); 259 __ or_(edi, Immediate(kHeapObjectTag)); // add the heap tag 388 __ Set(esi, Immediate(0)); 410 __ Set(ecx, Immediate(0)); 510 __ push(Immediate(Smi::FromInt(static_cast<int>(type)))); 572 __ push(Immediate(factory->undefined_value())); 590 __ Set(edx, Immediate(0)); // indicate regular JS_FUNCTIO [all...] |
macro-assembler-ia32.h | 250 // Store the value in register/immediate src in the safepoint 253 void StoreToSafepointRegisterSlot(Register dst, Immediate src); 263 Set(result, Immediate(object)); 327 void Set(Register dst, const Immediate& x); 328 void Set(const Operand& dst, const Immediate& x); 331 bool IsUnsafeImmediate(const Immediate& x); 332 void SafeSet(Register dst, const Immediate& x); 333 void SafePush(const Immediate& x); 456 test(value, Immediate(kSmiTagMask)); 463 test(value, Immediate(kSmiTagMask)) [all...] |
ic-ia32.cc | 147 Immediate(PropertyDetails::TypeField::kMask << kSmiTagSize)); 205 Immediate(kTypeAndReadOnlyMask)); 329 __ cmp(scratch, Immediate(FACTORY->the_hole_value())); 357 __ test(hash, Immediate(String::kContainsCachedArrayIndexMask)); 386 __ test(key, Immediate(0x80000001)); 397 __ sub(scratch2, Immediate(Smi::FromInt(2))); 526 Immediate(isolate->factory()->hash_table_map())); 552 __ add(edi, Immediate(kPointerSize * i * 2)); 556 __ add(edi, Immediate(kPointerSize)); 564 __ add(edi, Immediate(kPointerSize * (kEntriesPerBucket - 1) * 2)) [all...] |
/external/llvm/lib/Target/R600/ |
SIISelLowering.h | 33 bool foldImm(SDValue &Operand, int32_t &Immediate,
|