Lines Matching +full:- +full:v

22 	memset(mem, 0x55, (void *)stack_top - mem);  in test_push()
26 "pushq $-7 \n\t" in test_push()
29 "pushq $-7070707 \n\t" in test_push()
34 [reg]"r"(-17l), [mem]"r"(&memw) in test_push()
37 report(stack_top[-1] == -7ul, "push $imm8"); in test_push()
38 report(stack_top[-2] == -17ul, "push %%reg"); in test_push()
39 report(stack_top[-3] == 0x123456789abcdeful, "push mem"); in test_push()
40 report(stack_top[-4] == -7070707, "push $imm"); in test_push()
50 memset(mem, 0x55, (void *)stack_top - mem); in test_pop()
57 memw = 7 - memw; in test_pop()
68 memw = 129443 - memw; in test_pop()
90 stack_top[-1] = 0x778899; in test_pop()
99 : [tmp]"=&r"(tmp), [tmp3]"=&r"(tmp3) : [stack_top]"r"(stack_top-1) in test_pop()
115 report(rsp == (unsigned long)stack_top - 8 - 0x1238 in test_pop()
116 && rbp == (unsigned long)stack_top - 8 in test_pop()
117 && stack_top[-1] == 0xaa55aa55bb66bb66ULL, in test_pop()
266 uint64_t v; in test_mmx() local
270 v = 0x0102030405060708ULL; in test_mmx()
271 asm("movq %1, %0" : "=m"(*mem) : "y"(v)); in test_mmx()
272 report(v == *mem, "movq (mmx, read)"); in test_mmx()
274 asm("movq %1, %0" : "=y"(v) : "m"(*mem)); in test_mmx()
275 report(v == *mem, "movq (mmx, write)"); in test_mmx()
283 *(unsigned *)&insn_ram[2] = 2 + (char *)mem - (insn_ram + 7); in test_rip_relative()
333 "jump to non-canonical address"); in test_jmp_noncanonical()
342 "non-canonical memory access, should %s(0), got %s(%u)", in test_reg_noncanonical()
350 "non-canonical rsp-based access, should %s(0), got %s(%u)", in test_reg_noncanonical()
358 "non-canonical rbp-based access, should %s(0), got %s(%u)", in test_reg_noncanonical()
368 report(rcx == 0x9090909090909090, "64-bit mov imm2"); in test_movabs()
392 "pushw %[v]\n\t" in test_push16()
397 : [v]"m"(*mem) : "memory"); in test_push16()
417 // check for exception when ss.rpl != cpl on non-null segment load in test_sreg()
422 "mov non-null, %%ss (with ss.rpl != cpl)"); in test_sreg()
433 dummy_ptr -= GS_BASE; in usr_gs_mov()