Navigation: Linux Kernel Driver DataBase - web LKDDB: Main index - A index

CONFIG_ARM_PATCH_IDIV: Runtime patch udiv/sdiv instructions into __aeabi_{u}idiv()

General informations

The Linux kernel configuration item CONFIG_ARM_PATCH_IDIV:

Help text

The ARM compiler inserts calls to __aeabi_idiv() and __aeabi_uidiv() when it needs to perform division on signed and unsigned integers. Some v7 CPUs have support for the sdiv and udiv instructions that can be used to implement those functions.

Enabling this option allows the kernel to modify itself to replace the first two instructions of these library functions with the sdiv or udiv plus "bx lr" instructions when the CPU it is running on supports them. Typically this will be faster and less power intensive than running the original library code to do integer division.



Raw data from LKDDb:


This page is automaticly generated with free (libre, open) software lkddb(see lkddb-sources).

The data is retrived from:

Automatic links from Google (and ads)

Custom Search

Popular queries:

Navigation: Linux Kernel Driver DataBase - web LKDDB: main index - A index

Automatically generated (in year 2024). See also LKDDb sources on GitLab