| /linux/drivers/staging/media/atomisp/pci/isp/kernels/ctc/ctc2/ |
| A D | ia_css_ctc2.host.c | 46 int rounding = (dx + 1) >> 1; in ctc2_slope() local 58 rounding = -rounding; in ctc2_slope() 59 slope = (int)(dy_shift + rounding) / dx; in ctc2_slope()
|
| /linux/Documentation/arm/nwfpe/ |
| A D | todo.rst | 41 The IEEE standard defines 4 rounding modes. Round to nearest is the 42 default, but rounding to + or - infinity or round to zero are also allowed. 43 Many architectures allow the rounding mode to be specified by modifying bits 45 the rounding mode one must specify it with each instruction. 49 bits describing the rounding mode. The emulator could be altered to 50 examine a flag, which if set forced it to ignore the rounding mode in
|
| /linux/arch/m68k/fpsp040/ |
| A D | util.S | 98 | precision instruction, the rounding precision is then set to the force 170 | ;is the rounding precision 314 | g_rndpr --- put rounding precision in d0{1:0} 322 | get rounding precision (cmdreg3b{6:5}) 325 | get destination format - this is the also the rounding precision 350 | is the same as the rounding precision. Pass results from g_dfmtou. 358 movel CMDREG3B(%a6),%d0 |rounding precision in d0{10:9} 359 bfextu %d0{#9:#2},%d0 |move the rounding prec bits to d0{1:0} 413 | Get rounding precision set in FPCR{7:6}. 416 movel USER_FPCR(%a6),%d0 |rounding precision bits in d0{7:6} [all …]
|
| A D | sint.S | 29 | the rounding mode. 40 | for the given sign and rounding mode. 133 bfextu FPCR_MODE(%a6){#2:#2},%d1 |use user's mode for rounding 150 | rounding modes. L_SCR1 contains the rmode in the lower byte. 218 movel L_SCR1(%a6),%d1 |use selected rounding mode
|
| A D | round.S | 4 | handle rounding and normalization tasks 24 | d1(high word) contains rounding precision: 28 | d1(low word) contains rounding mode: 50 | :rounding precision and sets 60 | Use rounding mode as an index into a jump table for these modes. 67 | Jump table indexed by rounding mode in d1.w. All following assumes 130 | selected rounding precision. It is called by the round subroutine 406 | d0: rounding precision 413 | d0 comes into this routine with the rounding precision. It 415 | rounding precision.
|
| A D | decbin.S | 52 | greater than 10^27, a directed rounding scheme is used with 84 | 10**{1,2,4,8,16,32,64,128,256,512,1024,2048,4096}. No rounding 432 bfextu %d3{#26:#2},%d2 |isolate rounding mode bits 438 moveb (%a1,%d2),%d0 |load new rounding bits from table 440 bfins %d0,%d3{#26:#2} |stuff new rounding bits in FPCR
|
| A D | bindec.S | 57 | 10^^(abs(ISCALE)) using a rounding mode which is a 58 | function of the original rounding mode and the signs 64 | only one rounding error. The grs bits are collected in 81 | A12. Calculate YINT = FINT(Y) according to user's rounding 333 | the rounding mode as given in the following table (see 550 | Perform FINT operation in the user's rounding mode. Keep
|
| A D | stwotox.S | 199 fmovel %d1,%fpcr | ...set user's rounding mode/precision 303 fmovel %d1,%fpcr | ...set user's rounding mode/precision
|
| A D | x_unfl.S | 204 | d1{01:00} has rounding mode 205 | d1{17:16} has rounding precision
|
| A D | x_ovfl.S | 18 | on the current rounding mode:
|
| A D | res_func.S | 476 | the round precision is found in the fpcr. If the rounding precision 487 | FPCR_MODE byte to get rounding. 830 | and the result will be correct for the user's rounding mode and 1005 | and the result will be correct for the user's rounding mode and 1551 movel USER_FPCR(%a6),%d1 |use user's rounding mode 1905 bfextu FPCR_MODE(%a6){#2:#2},%d1 |get rounding mode 1907 movew 2(%a7),%d1 |set rounding precision
|
| /linux/Documentation/arm/vfp/ |
| A D | release-notes.rst | 38 result underflows before rounding, but becomes a normalised number 39 after rounding, we do not signal an underflow exception.
|
| /linux/arch/arm/lib/ |
| A D | delay-loop.S | 30 adds r1, r1, #0xffffffff @ rounding up ...
|
| /linux/drivers/video/fbdev/matrox/ |
| A D | matroxfb_base.c | 451 int rounding; in matroxfb_test_and_set_rounding() local 457 case 4: rounding = 128; in matroxfb_test_and_set_rounding() 459 case 8: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding() 461 case 16: rounding = 32; in matroxfb_test_and_set_rounding() 463 case 24: rounding = 64; /* doc says 64; 32 is OK for G400 */ in matroxfb_test_and_set_rounding() 465 default: rounding = 16; in matroxfb_test_and_set_rounding() 468 rounding = 32; in matroxfb_test_and_set_rounding() 472 rounding *= 2; in matroxfb_test_and_set_rounding() 474 over = xres % rounding; in matroxfb_test_and_set_rounding() 476 xres += rounding-over; in matroxfb_test_and_set_rounding()
|
| /linux/Documentation/hwmon/ |
| A D | emc2103.rst | 27 represented, so some rounding is done. With a divider of 1, the lowest
|
| A D | smsc47m1.rst | 71 represented, so some rounding is done. With a divider of 2, the lowest
|
| A D | lm80.rst | 56 represented, so some rounding is done. With a divider of 2, the lowest
|
| /linux/lib/ |
| A D | string_helpers.c | 51 static const unsigned int rounding[] = { 500, 50, 5 }; in string_get_size() local 111 remainder += rounding[j]; in string_get_size()
|
| /linux/arch/powerpc/lib/ |
| A D | div64.S | 32 addc r9,r4,r10 # rounding up (so the estimate cannot
|
| /linux/drivers/cpufreq/ |
| A D | Kconfig | 306 clock rate rounding through the clock framework can use this 308 harmless for CPUs that don't support rate rounding. The driver 310 itself if the CPU in question is not capable of rate rounding.
|
| /linux/Documentation/userspace-api/media/v4l/ |
| A D | selection-api-configuration.rst | 19 control the rounding behaviour using 62 control rounding behaviour using
|
| /linux/fs/xfs/ |
| A D | xfs_bmap_util.c | 945 xfs_off_t rounding, start, end; in xfs_flush_unmap_range() local 948 rounding = max_t(xfs_off_t, mp->m_sb.sb_blocksize, PAGE_SIZE); in xfs_flush_unmap_range() 949 start = round_down(offset, rounding); in xfs_flush_unmap_range() 950 end = round_up(offset + len, rounding) - 1; in xfs_flush_unmap_range()
|
| /linux/arch/powerpc/boot/ |
| A D | div64.S | 32 addc r9,r4,r10 # rounding up (so the estimate cannot
|
| /linux/drivers/atm/ |
| A D | horizon.c | 572 static int make_rate (const hrz_dev * dev, u32 c, rounding r, in make_rate() 679 static int make_rate_with_tolerance (const hrz_dev * dev, u32 c, rounding r, unsigned int tol, in make_rate_with_tolerance() 2225 rounding r; in hrz_open() 2264 rounding pr; in hrz_open() 2265 rounding sr; in hrz_open()
|
| A D | horizon.h | 490 } rounding; typedef
|