Searched defs:rax (Results 1 - 24 of 24) sorted by relevance

/external/strace/linux/x86_64/
H A Dget_error.c6 * Using merely "long rax" would not work.
8 long long rax; local
12 rax = (int32_t) i386_regs.eax;
14 rax = x86_64_regs.rax;
17 if (check_errno && is_negated_errno(rax)) {
19 tcp->u_error = -rax;
21 tcp->u_rval = rax;
/external/valgrind/none/tests/amd64/
H A Dloopnel.c7 long rax = 5UL; local
8 asm volatile ("1: addq $1, %0; loopnel 1b" : "+a" (rax), "+c" (rcx) : : "cc");
9 printf ("%ld %ld\n", rax, rcx);
H A Dasorep.c10 unsigned long rdi, rsi, rcx, rax; local
29 rax = 0x751234560000ULL + (' ' << 8) + '0';
31 : "=D" (rdi), "=c" (rcx), "+a" (rax)
37 || rax != 0x751234560000ULL + (' ' << 8) + '0')
41 : "=S" (rsi), "=a" (rax)
44 || rax != 0x20302030ULL)
58 rax = 0x123450000ULL + ('d' << 8) + 'c';
60 : "=D" (rdi), "=c" (rcx), "+a" (rax)
64 || rax != 0x123450000ULL + ('d' << 8) + 'c')
67 rax
[all...]
H A Dcmpxchg.c11 ULong rax; variable
24 rdx = 0x11111111; rax = 0x22222222;
28 rax&0xff,rbx&0xff,rcx&0xff);
31 "\tpush %rax\n"
35 "\txor %rax, %rax\n" // get eflags in a known state
37 "\tmov " VG_SYM(rax) ",%rax\n"
42 "\tmov " VG_SYM(rax) "(%rip),%rax\
[all...]
H A Dfb_test_amd64.c502 : "a" (rax), "b" (rbx), "c" (rcx), "d" (rdx), "S" (rsi), "D" (rdi));\
517 int64 rax, rbx, rcx, rdx, rsi, rdi, res; local
518 rax = 0x0001;
527 TEST_LEA("(%%rax)");
534 TEST_LEA("0x40(%%rax)");
541 TEST_LEA("0x4000(%%rax)");
548 TEST_LEA("(%%rax, %%rcx)");
555 TEST_LEA("0x40(%%rax, %%rcx)");
562 TEST_LEA("(,%%rax, 2)");
566 TEST_LEA("0x40(,%%rax,
[all...]
/external/clang/test/CodeGen/
H A Dms-inline-asm-64.c6 __asm mov rax, offset var ; rax = address of myvar local
8 // CHECK: call void asm sideeffect inteldialect "mov rax, $0", "r,~{rax},~{dirflag},~{fpsr},~{flags}"(i32* %{{.*}})
H A Dms_this.cpp20 mov rax,[this] local
23 // CHECK: call void asm sideeffect inteldialect "mov rax,qword ptr $1{{.*}}%class.t2* [[THIS1_T2]]
24 mov rbx,[rax]
33 mov rax,[this] local
36 // CHECK: call void asm sideeffect inteldialect "mov rax,qword ptr $1{{.*}}%class.t1* [[THIS1_T1]]
37 mov rbx,[rax]
46 __asm mov rax, [this] local
49 // CHECK: call void asm sideeffect inteldialect "mov rax, qword ptr $0{{.*}}%struct.s* [[THIS1_S]]
/external/skia/src/jumper/
H A DSkJumper_misc.h57 void* rax; local
58 asm("lodsq" : "=a"(rax), "+S"(program)); // Write-only %rax, read-write %rsi.
59 return rax;
/external/valgrind/memcheck/tests/amd64-solaris/
H A Dcontext_gpr.c1 /* Test if values in rax, rbx, rcx, rdx, rsi and rdi are correctly propagated
37 long rax, rbx, rcx, rdx, rsi, rdi; local
63 "movq $0xf0, %%rax\n"
75 : "=a" (rax), "=b" (rbx), "=c" (rcx), "=d" (rdx), "=S" (rsi),
81 printf(" rax=%#lx, rcx=%#lx, rdx=%#lx, rsi=%#lx, rdi=%#lx\n",
90 printf(" rax=%#lx, rdx=%#lx, rsi=%#lx, rdi=%#lx\n", rax, rdx, rsi, rdi);
/external/kernel-headers/original/uapi/asm-x86/asm/
H A Dptrace.h59 unsigned long rax; member in struct:pt_regs
H A Dsigcontext.h338 __u64 rax; member in struct:sigcontext
H A Dkvm.h114 __u64 rax, rbx, rcx, rdx; member in struct:kvm_regs
/external/linux-kselftest/tools/testing/selftests/x86/
H A Dtest_syscall_vdso.c67 uint64_t rax, rbx, rcx, rdx; member in struct:regs64
79 " push %rax\n"
81 " pop 0*8(%rax)\n"
82 " movq %rbx, 1*8(%rax)\n"
83 " movq %rcx, 2*8(%rax)\n"
84 " movq %rdx, 3*8(%rax)\n"
85 " movq %rsi, 4*8(%rax)\n"
86 " movq %rdi, 5*8(%rax)\n"
87 " movq %rbp, 6*8(%rax)\n"
88 " movq %rsp, 7*8(%rax)\
[all...]
/external/google-breakpad/src/google_breakpad/common/
H A Dminidump_cpu_amd64.h140 uint64_t rax; member in struct:__anon6893
/external/valgrind/include/vki/
H A Dvki-xen-x86.h92 vki_uint64_t rax; member in struct:vki_xen_cpu_user_regs
165 vki_uint64_t rax; member in struct:vki_hvm_hw_cpu
H A Dvki-amd64-linux.h207 unsigned long rax; member in struct:vki_sigcontext
513 unsigned long r9,r8,rax,rcx,rdx,rsi,rdi,orig_rax; member in struct:vki_user_regs_struct
/external/v8/src/builtins/x64/
H A Dbuiltins-x64.cc22 // -- rax : number of arguments excluding receiver
42 // JumpToExternalReference expects rax to contain the number of arguments
45 __ addp(rax, Immediate(num_extra_args + 1));
50 __ Integer32ToSmi(rax, rax);
51 __ Push(rax);
52 __ SmiToInteger32(rax, rax);
73 // -- rax : argument count (preserved for callee)
80 __ Integer32ToSmi(rax, ra
490 __ movp(FieldOperand(rbx, JSGeneratorObject::kInputOrDebugPosOffset), rax); local
[all...]
/external/v8/src/full-codegen/x64/
H A Dfull-codegen-x64.cc57 __ testl(rax, Immediate(delta_to_patch_site));
150 __ LoadRoot(rax, Heap::kUndefinedValueRootIndex);
159 __ Push(rax);
168 __ Push(rax);
211 // Context is returned in rax. It replaces the context passed to us.
213 __ movp(rsi, rax);
214 __ movp(Operand(rbp, StandardFrameConstants::kContextOffset), rax); local
226 __ movp(rax, Operand(rbp, parameter_offset));
229 __ movp(Operand(rsi, context_offset), rax); local
230 // Update the write barrier. This clobbers rax an
1102 __ movp(StoreDescriptor::ReceiverRegister(), rax); local
1601 __ Move(StoreDescriptor::ReceiverRegister(), rax); local
1610 __ Move(StoreDescriptor::NameRegister(), rax); local
1744 __ movp(Operand(rsp, kPointerSize), rax); local
1763 __ Move(LoadDescriptor::NameRegister(), rax); local
1770 __ movp(Operand(rsp, kPointerSize), rax); local
2329 __ movp(Operand(rsp, kPointerSize), rax); local
2332 __ movp(Operand(rsp, 2 * kPointerSize), rax); local
2372 __ movp(Operand(rsp, kPointerSize), rax); local
2375 __ movp(Operand(rsp, 2 * kPointerSize), rax); local
[all...]
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-linux.c244 "movq %2, %%rax\n" /* set %rax = __NR_exit */
249 : "rax", "rdi"
445 Long rax; local
447 rax = do_syscall_clone_amd64_linux
450 res = VG_(mk_SysRes_amd64_linux)( rax );
/external/valgrind/VEX/priv/
H A Dhost_amd64_isel.c1253 HReg rax = hregAMD64_RAX(); local
1262 addInstr(env, mk_iMOVsd_RR(left64, rax));
1266 addInstr(env, AMD64Instr_MovxLQ(False, rax, rax));
1268 addInstr(env, mk_iMOVsd_RR(rax, dst));
2366 Saves a "movq %rax, %tmp" compared to the default route. */
2491 /* get one operand into %rax, and the other into a R/M.
2512 /* Get the 128-bit operand into rdx:rax, and the other into
4623 /* The returned value is in %rax. Park it in the register
4682 /* get: cas->expd into %rax, an
[all...]
/external/llvm/include/llvm/Support/
H A DMachO.h1459 uint64_t rax; member in struct:llvm::MachO::x86_thread_state64_t
1588 sys::swapByteOrder(x.rax);
/external/v8/src/crankshaft/x64/
H A Dlithium-codegen-x64.cc79 __ movp(Operand(rsp, offset), rax); local
143 __ Push(rax);
144 __ Set(rax, slots);
148 __ movp(MemOperand(rsp, rax, times_pointer_size, 0),
150 __ decl(rax);
152 __ Pop(rax);
200 // Context is returned in rax. It replaces the context passed to us.
202 __ movp(rsi, rax);
203 __ movp(Operand(rbp, StandardFrameConstants::kContextOffset), rax); local
215 __ movp(rax, Operan
218 __ movp(Operand(rsi, context_offset), rax); local
[all...]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
H A DMachO.h1474 uint64_t rax; member in struct:llvm::MachO::x86_thread_state64_t
1603 sys::swapByteOrder(x.rax);
/external/swiftshader/third_party/LLVM/lib/Target/X86/
H A DX86ISelLowering.cpp1476 // the sret argument into %rax for the return. We saved the argument into
1478 // and into %rax.
1817 // the sret argument into %rax for the return. Save the argument into
10283 SDValue rax = DAG.getCopyFromReg(rd, dl, X86::RAX, MVT::i64, rd.getValue(1)); local
10284 SDValue rdx = DAG.getCopyFromReg(rax.getValue(1), dl, X86::RDX, MVT::i64,
10285 rax.getValue(2));
10289 DAG.getNode(ISD::OR, dl, MVT::i64, rax, Tmp),

Completed in 575 milliseconds