/external/chromium_org/v8/test/cctest/ |
test-macro-assembler-ia32.cc | 67 __ sub(esp, Immediate(1 * kPointerSize)); 71 __ mov(eax, Immediate(1)); // Test number. 72 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); 73 __ mov(ebx, Immediate(-1)); 76 __ mov(edx, Immediate(255)); 85 __ mov(eax, Immediate(2)); // Test number. 86 __ mov(Operand(esp, 0 * kPointerSize), Immediate(0)); 87 __ mov(ebx, Immediate(-1)); 90 __ mov(edx, Immediate(255)); 94 __ mov(edx, Immediate(-1)) [all...] |
test-disasm-x64.cc | 56 // Short immediate instructions 57 __ addq(rax, Immediate(12345678)); 58 __ or_(rax, Immediate(12345678)); 59 __ subq(rax, Immediate(12345678)); 60 __ xor_(rax, Immediate(12345678)); 61 __ and_(rax, Immediate(12345678)); 77 __ addq(Operand(rbp, rcx, times_4, 12), Immediate(12)); 80 __ addq(rbx, Immediate(12)); 83 __ and_(rdx, Immediate(3)); 85 __ cmpq(rdx, Immediate(3)) [all...] |
test-macro-assembler-x64.cc | 45 using i::Immediate; 113 __ movq(rdx, Immediate(-1)); 147 __ movl(rax, Immediate(id)); 204 __ movl(rax, Immediate(id + 1)); 207 __ movl(rax, Immediate(id + 2)); 211 __ movl(rax, Immediate(id + 3)); 214 __ movl(rax, Immediate(id + 4)); 224 __ movl(rax, Immediate(id + 9)); 228 __ movl(rax, Immediate(id + 10)); 233 __ movl(rax, Immediate(id + 11)) [all...] |
test-assembler-x64.cc | 234 __ roll(rax, Immediate(1)); 281 __ movq(rax, Immediate(1)); 285 __ movq(rax, Immediate(0)); 396 __ movq(rax, Immediate(-3)); 401 __ addq(rax, Immediate(7)); 403 __ cmpq(rax, Immediate(20)); 406 __ cmpq(rax, Immediate(25)); 411 __ movq(rax, Immediate(0x11FEED00)); 414 __ addq(rax, Immediate(-0x1100)); 416 __ cmpq(rax, Immediate(0x11FE8000)) [all...] |
/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...] |
/external/chromium_org/v8/src/x64/ |
regexp-macro-assembler-x64.cc | 160 __ addq(rdi, Immediate(by * char_size())); 169 __ addq(register_location(reg), Immediate(by)); 189 __ cmpl(current_character(), Immediate(c)); 195 __ cmpl(current_character(), Immediate(limit)); 203 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); 215 __ cmpl(Operand(rbp, kStartIndex), Immediate(0)); 225 __ cmpl(current_character(), Immediate(limit)); 296 __ or_(rax, Immediate(0x20)); // Convert match character to lower-case. 297 __ or_(rdx, Immediate(0x20)); // Convert capture character to lower-case. 300 __ subb(rax, Immediate('a')) [all...] |
assembler-x64.h | 378 class Immediate BASE_EMBEDDED { 380 explicit Immediate(int32_t value) : value_(value) {} 695 void push(Immediate value); 705 void enter(Immediate size); 710 void movb(Register dst, Immediate imm); 712 void movb(const Operand& dst, Immediate imm); 718 void movw(const Operand& dst, Immediate imm); 726 // Loads a 64-bit immediate into a register. 748 // Instruction to load from an immediate 64-bit pointer into RAX. 767 void addl(Register dst, Immediate src) [all...] |
macro-assembler-x64.cc | 168 push(Immediate(static_cast<int32_t>(address))); 239 addq(scratch, Immediate(kPointerSize)); 245 testq(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit)); 299 Immediate(static_cast<int32_t>(isolate()->heap()->NewSpaceMask()))); 329 testb(dst, Immediate((1 << kPointerSizeLog2) - 1)); 486 testq(rsp, Immediate(frame_alignment_mask)); 574 addq(rsp, Immediate(num_arguments * kPointerSize)); 590 and_(hash, Immediate(String::kArrayIndexValueMask)); 591 shr(hash, Immediate(String::kHashShift)); 706 addl(Operand(base_reg, kLevelOffset), Immediate(1)) [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...] |
/external/chromium_org/v8/src/ia32/ |
macro-assembler-ia32.cc | 94 mov(destination, Immediate(index)); 107 mov(scratch, Immediate(index)); 118 mov(scratch, Immediate(index)); 148 and_(scratch, Immediate(~Page::kPageAlignmentMask)); 150 mov(scratch, Immediate(~Page::kPageAlignmentMask)); 185 add(scratch, Immediate(kPointerSize)); 190 test(scratch, Immediate(StoreBuffer::kStoreBufferOverflowBit)); 219 test(result_reg, Immediate(0xFFFFFF00)); 221 cmp(result_reg, Immediate(0x80000000)); 223 mov(result_reg, Immediate(0)) [all...] |
regexp-macro-assembler-ia32.cc | 143 __ add(edi, Immediate(by * char_size())); 152 __ add(register_location(reg), Immediate(by)); 161 __ add(ebx, Immediate(masm_->CodeObject())); 186 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); 198 __ cmp(Operand(ebp, kStartIndex), Immediate(0)); 217 __ add(backtrack_stackpointer(), Immediate(kPointerSize)); // Pop. 271 __ sub(ecx, Immediate(224 - 'a')); 272 __ cmp(ecx, Immediate(254 - 224)); 274 __ cmp(ecx, Immediate(247 - 224)); // Check for 247. 286 __ add(edx, Immediate(1)) [all...] |
debug-ia32.cc | 111 __ push(Immediate(Smi::FromInt( 114 __ push(Immediate(Smi::FromInt(Debug::FramePaddingLayout::kInitialSize))); 130 __ test(reg, Immediate(0xc0000000)); 141 __ Set(eax, Immediate(0)); // No arguments. 142 __ mov(ebx, Immediate(ExternalReference::debug_break(masm->isolate()))); 157 __ Set(reg, Immediate(kDebugZapValue)); 188 __ add(esp, Immediate(kPointerSize)); 344 __ mov(Operand::StaticVariable(restarter_frame_function_slot), Immediate(0));
|
code-stubs-ia32.cc | 398 Immediate(Smi::FromInt(length))); 401 __ Set(ebx, Immediate(0)); // Set to NULL. 448 Immediate(Smi::FromInt(length))); 502 __ sub(esp, Immediate(kDoubleSize * XMMRegister::kNumRegisters)); 513 Immediate(ExternalReference::isolate_address(masm->isolate()))); 523 __ add(esp, Immediate(kDoubleSize * XMMRegister::kNumRegisters)); 605 __ cmp(result_reg, Immediate(HeapNumber::kMantissaBits)); 613 __ sub(ecx, Immediate(delta)); 615 __ cmp(ecx, Immediate(31)); 626 __ sub(esp, Immediate(kDoubleSize / 2)) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
radeon_code.c | 111 * Add an immediate vector to the constant list, while trying to avoid 121 if (!memcmp(c->Constants[index].u.Immediate, data, sizeof(float)*4)) 129 memcpy(constant.u.Immediate, data, sizeof(float) * 4); 136 * Add an immediate scalar to the constant list, while trying to avoid 149 if (c->Constants[index].u.Immediate[comp] == data) { 162 c->Constants[free_index].u.Immediate[comp] = data; 170 constant.u.Immediate[0] = data; 181 float * values = c->Constants[i].u.Immediate;
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
radeon_code.c | 111 * Add an immediate vector to the constant list, while trying to avoid 121 if (!memcmp(c->Constants[index].u.Immediate, data, sizeof(float)*4)) 129 memcpy(constant.u.Immediate, data, sizeof(float) * 4); 136 * Add an immediate scalar to the constant list, while trying to avoid 149 if (c->Constants[index].u.Immediate[comp] == data) { 162 c->Constants[free_index].u.Immediate[comp] = data; 170 constant.u.Immediate[0] = data; 181 float * values = c->Constants[i].u.Immediate;
|
/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...] |
/art/compiler/utils/x86/ |
assembler_x86.h | 32 class Immediate { 34 explicit Immediate(int32_t value) : value_(value) {} 45 DISALLOW_COPY_AND_ASSIGN(Immediate); 227 void pushl(const Immediate& imm); 232 void movl(Register dst, const Immediate& src); 237 void movl(const Address& dst, const Immediate& imm); 246 void movb(const Address& dst, const Immediate& imm); 331 void ffree(const Immediate& index); 340 void cmpl(Register reg, const Immediate& imm); 345 void cmpl(const Address& address, const Immediate& imm) [all...] |