Home
last modified time | relevance | path

Searched full:diff (Results 1 – 25 of 88) sorted by relevance

1234

/qemu/target/i386/emulate/
H A Dx86_flags.c119 uint32_t diff) in SET_FLAGS_OSZAPC_SUB32() argument
121 SET_FLAGS_OSZAPC_32(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB32()
125 uint16_t diff) in SET_FLAGS_OSZAPC_SUB16() argument
127 SET_FLAGS_OSZAPC_16(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB16()
131 uint8_t diff) in SET_FLAGS_OSZAPC_SUB8() argument
133 SET_FLAGS_OSZAPC_8(SUB_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_SUB8()
137 uint32_t diff) in SET_FLAGS_OSZAPC_ADD32() argument
139 SET_FLAGS_OSZAPC_32(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_ADD32()
143 uint16_t diff) in SET_FLAGS_OSZAPC_ADD16() argument
145 SET_FLAGS_OSZAPC_16(ADD_COUT_VEC(v1, v2, diff), diff); in SET_FLAGS_OSZAPC_ADD16()
[all …]
H A Dx86_flags.h37 uint32_t diff);
39 uint16_t diff);
41 uint8_t diff);
44 uint32_t diff);
46 uint16_t diff);
48 uint8_t diff);
51 uint32_t diff);
53 uint16_t diff);
55 uint8_t diff);
58 uint32_t diff);
[all …]
/qemu/
H A D.gitattributes1 *.c.inc diff=c
2 *.h.inc diff=c
3 *.m diff=objc
4 *.py diff=python
5 *.rs diff=rust
6 *.rs.inc diff=rust
7 Cargo.lock diff=toml merge=binary
/qemu/tests/qtest/
H A Drtl8139-test.c75 unsigned cnt, diff; in test_timer() local
97 diff = (curr-prev) & 0xffffffffu; in test_timer()
98 if (diff < from || diff > to) { in test_timer()
99 fatal("Invalid diff %u (%u-%u)\n", diff, from, to); in test_timer()
157 diff = (curr-prev) & 0xffffffffu; in test_timer()
158 if (diff < from || diff > to) { in test_timer()
159 fatal("Invalid diff %u (%u-%u)\n", diff, from, to); in test_timer()
H A Dm48t59-test.c196 unsigned long diff; in bcd_check_time() local
203 diff = start_s - date_s; in bcd_check_time()
204 g_test_message("RTC is %ld second(s) behind wall-clock", diff); in bcd_check_time()
206 diff = date_s - start_s; in bcd_check_time()
207 g_test_message("RTC is %ld second(s) ahead of wall-clock", diff); in bcd_check_time()
210 g_assert_cmpint(diff, <=, wiggle); in bcd_check_time()
H A Dnpcm7xx_timer-test.c101 ptrdiff_t diff = tim - timer_block; in tim_index() local
103 g_assert(diff >= 0 && diff < ARRAY_SIZE(timer_block)); in tim_index()
105 return diff; in tim_index()
111 ptrdiff_t diff = t - timer; in timer_index() local
113 g_assert(diff >= 0 && diff < ARRAY_SIZE(timer)); in timer_index()
115 return diff; in timer_index()
H A Dnpcm7xx_pwm-test.c204 ptrdiff_t diff = module - pwm_module_list; in pwm_module_index() local
206 g_assert(diff >= 0 && diff < ARRAY_SIZE(pwm_module_list)); in pwm_module_index()
208 return diff; in pwm_module_index()
214 ptrdiff_t diff = pwm - pwm_list; in pwm_index() local
216 g_assert(diff >= 0 && diff < ARRAY_SIZE(pwm_list)); in pwm_index()
218 return diff; in pwm_index()
/qemu/replay/
H A Dreplay-internal.c246 int diff = (int)(current_icount - replay_state.current_icount); in replay_advance_current_icount() local
249 assert(diff >= 0); in replay_advance_current_icount()
252 if (diff > 0) { in replay_advance_current_icount()
254 replay_put_dword(diff); in replay_advance_current_icount()
255 replay_state.current_icount += diff; in replay_advance_current_icount()
258 if (diff > 0) { in replay_advance_current_icount()
259 replay_state.instruction_count -= diff; in replay_advance_current_icount()
260 replay_state.current_icount += diff; in replay_advance_current_icount()
/qemu/tests/unit/
H A Dtest-hbitmap.c447 static void hbitmap_test_set_boundary_bits(TestHBitmapData *data, ssize_t diff) in hbitmap_test_set_boundary_bits() argument
453 if (diff < 0) { in hbitmap_test_set_boundary_bits()
455 hbitmap_test_set(data, size + diff - 1, 1); in hbitmap_test_set_boundary_bits()
458 hbitmap_test_set(data, size + diff, 1); in hbitmap_test_set_boundary_bits()
492 ssize_t diff, in hbitmap_test_truncate() argument
496 hbitmap_test_set_boundary_bits(data, diff); in hbitmap_test_truncate()
497 hbitmap_test_truncate_impl(data, size + diff); in hbitmap_test_truncate()
515 size_t diff = 1; in test_hbitmap_truncate_grow_negligible() local
518 hbitmap_test_truncate(data, size, diff, granularity); in test_hbitmap_truncate_grow_negligible()
529 ssize_t diff = -1; in test_hbitmap_truncate_shrink_negligible() local
[all …]
/qemu/tests/qemu-iotests/
H A Dtestrunner.py52 # and use strict diff here!
105 elapsed: Optional[float] = None, diff: Sequence[str] = (),
110 self.diff = diff
298 diff=file_diff(str(f_reference), str(f_bad)))
309 diff = file_diff(str(f_reference), str(f_bad))
310 if diff:
318 diff=diff, casenotrun=casenotrun)
408 if res.diff:
410 print('\n'.join(res.diff), file=sys.stderr)
412 print('\n'.join(res.diff))
/qemu/hw/gpio/
H A Domap_gpio.c115 uint16_t diff; in omap_gpio_write() local
129 diff = (s->outputs ^ value) & ~s->dir; in omap_gpio_write()
131 while ((ln = ctz32(diff)) != 32) { in omap_gpio_write()
134 diff &= ~(1 << ln); in omap_gpio_write()
139 diff = s->outputs & (s->dir ^ value); in omap_gpio_write()
143 while ((ln = ctz32(diff)) != 32) { in omap_gpio_write()
146 diff &= ~(1 << ln); in omap_gpio_write()
H A Dpcf8574.c81 uint8_t diff; in pcf8574_tx() local
89 for (diff = (actual ^ prev); diff; diff &= ~(1 << line)) { in pcf8574_tx()
90 line = ctz32(diff); in pcf8574_tx()
H A Dzaurus.c66 uint32_t level, diff; in scoop_gpio_handler_update() local
70 for (diff = s->prev_level ^ level; diff; diff ^= 1 << bit) { in scoop_gpio_handler_update()
71 bit = ctz32(diff); in scoop_gpio_handler_update()
H A Dnpcm7xx_gpio.c88 static void npcm7xx_gpio_update_pins(NPCM7xxGPIOState *s, uint32_t diff) in npcm7xx_gpio_update_pins() argument
128 pin_diff |= undefined & diff; in npcm7xx_gpio_update_pins()
195 uint32_t diff; in npcm7xx_gpio_regs_write() local
243 diff = s->regs[reg] ^ value; in npcm7xx_gpio_regs_write()
245 npcm7xx_gpio_update_pins(s, diff); in npcm7xx_gpio_regs_write()
/qemu/hw/arm/
H A Domap1.c582 uint16_t diff, uint16_t value) in omap_ulpd_clk_update() argument
584 if (diff & (1 << 4)) /* USB_MCLK_EN */ in omap_ulpd_clk_update()
586 if (diff & (1 << 5)) /* DIS_USB_PVCI_CLK */ in omap_ulpd_clk_update()
591 uint16_t diff, uint16_t value) in omap_ulpd_req_update() argument
593 if (diff & (1 << 0)) /* SOFT_DPLL_REQ */ in omap_ulpd_req_update()
595 if (diff & (1 << 1)) /* SOFT_COM_REQ */ in omap_ulpd_req_update()
597 if (diff & (1 << 2)) /* SOFT_SDW_REQ */ in omap_ulpd_req_update()
599 if (diff & (1 << 3)) /* SOFT_USB_REQ */ in omap_ulpd_req_update()
610 uint16_t diff; in omap_ulpd_pm_write() local
673 diff = s->ulpd_pm_regs[addr >> 2] ^ value; in omap_ulpd_pm_write()
[all …]
/qemu/hw/timer/
H A Drenesas_tmr.c65 uint16_t diff[TMR_NR_EVENTS], min; in update_events() local
83 diff[cmia] = concat_reg(tmr->tcora) - concat_reg(tmr->tcnt); in update_events()
84 diff[cmib] = concat_reg(tmr->tcorb) - concat_reg(tmr->tcnt); in update_events()
85 diff[ovi] = 0x10000 - concat_reg(tmr->tcnt); in update_events()
88 diff[cmia] = tmr->tcora[ch] - tmr->tcnt[ch]; in update_events()
89 diff[cmib] = tmr->tcorb[ch] - tmr->tcnt[ch]; in update_events()
90 diff[ovi] = 0x100 - tmr->tcnt[ch]; in update_events()
93 for (event = 0, min = diff[0], i = 1; i < none; i++) { in update_events()
94 if (min > diff[i]) { in update_events()
96 min = diff[i]; in update_events()
[all …]
/qemu/tests/image-fuzzer/qcow2/
H A Dlayout.py341 diff = block_ids = set([x // size for x in data])
342 while len(diff) != 0:
345 len(diff))
348 diff = set([x // size for x in new]) - block_ids
350 block_ids |= diff
375 diff = set([c // block_size for c in table_clusters]) - blocks
376 blocks |= diff
377 while len(diff) != 0:
381 len(diff))
384 diff = set([x // block_size for x in new]) - blocks
[all …]
/qemu/tests/tcg/
H A DMakefile.target67 diff-out = $(call quiet-command, diff -q $1.out $2 || \
68 (diff -u $1.out $2 | head -n 10 && false), \
69 DIFF,$1.out with $2)
75 # As above but only diff if reference file exists, otherwise the test
77 conditional-diff-out = \
79 $(call diff-out,$1,$2), \
/qemu/target/arm/tcg/
H A Dneon-dp.decode533 &3diff vm vn vd size
535 @3diff .... ... . . . size:2 .... .... .... . . . . .... \
536 &3diff vm=%vm_dp vn=%vn_dp vd=%vd_dp
538 VADDL_S_3d 1111 001 0 1 . .. .... .... 0000 . 0 . 0 .... @3diff
539 VADDL_U_3d 1111 001 1 1 . .. .... .... 0000 . 0 . 0 .... @3diff
541 VADDW_S_3d 1111 001 0 1 . .. .... .... 0001 . 0 . 0 .... @3diff
542 VADDW_U_3d 1111 001 1 1 . .. .... .... 0001 . 0 . 0 .... @3diff
544 VSUBL_S_3d 1111 001 0 1 . .. .... .... 0010 . 0 . 0 .... @3diff
545 VSUBL_U_3d 1111 001 1 1 . .. .... .... 0010 . 0 . 0 .... @3diff
547 VSUBW_S_3d 1111 001 0 1 . .. .... .... 0011 . 0 . 0 .... @3diff
[all …]
/qemu/scripts/codeconverter/
H A Dconverter.py78 if args.diff:
80 if not args.diff and not args.inplace:
103 p.add_argument('--diff', action='store_true',
104 help="Print diff output on stdout")
/qemu/target/riscv/
H A Dtime_helper.c47 uint64_t diff, ns_diff, next; in riscv_timer_write_timecmp() local
100 diff = timecmp - rtc_r; in riscv_timer_write_timecmp()
102 ns_diff = muldiv64(diff, NANOSECONDS_PER_SECOND, timebase_freq); in riscv_timer_write_timecmp()
108 if ((NANOSECONDS_PER_SECOND > timebase_freq && ns_diff < diff) || in riscv_timer_write_timecmp()
/qemu/scripts/
H A Dgit.orderfile6 # git diff -O scripts/git.orderfile ...
9 # git config diff.orderFile scripts/git.orderfile
/qemu/tests/qapi-schema/
H A Dmeson.build225 diff = find_program('diff') variable
270 # on Windows hosts). Unfortunately diff --strip-trailing-cr
271 # is GNU-diff only. The odd-looking python is because we must avoid
292 test('QAPI rST doc', diff, args: ['-u', qapi_doc_ref_nocr[0], qapi_doc_out_nocr[0]],
/qemu/hw/audio/
H A Dwm8750.c53 uint8_t diff[2], pol, ds, monomix[2], alc, mute; member
271 s->diff[0] = 0; in wm8750_reset()
272 s->diff[1] = 0; in wm8750_reset()
388 s->diff[0] = (((value >> 6) & 3) == 3); /* LINSEL */ in wm8750_tx()
389 if (s->diff[0]) in wm8750_tx()
396 s->diff[1] = (((value >> 6) & 3) == 3); /* RINSEL */ in wm8750_tx()
397 if (s->diff[1]) in wm8750_tx()
405 if (s->diff[0]) in wm8750_tx()
407 if (s->diff[1]) in wm8750_tx()
607 VMSTATE_UINT8_ARRAY(diff, WM8750State, 2),
/qemu/tests/data/acpi/
H A Drebuild-expected-aml.sh55 …mma-separated changed AML files to ignore' ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h`
57 …separated changed AML files to ignore */' > ${SRC_PATH}/tests/qtest/bios-tables-test-allowed-diff.h

1234