Home
last modified time | relevance | path

Searched refs:shiftval (Results 1 – 2 of 2) sorted by relevance

/arch/unicore32/mm/
Dalignment.c396 unsigned int shiftval = SHIFT_BITS(instr); in do_alignment() local
400 offset.un <<= shiftval; in do_alignment()
404 offset.un >>= shiftval; in do_alignment()
408 offset.sn >>= shiftval; in do_alignment()
412 if (shiftval == 0) { in do_alignment()
417 offset.un = offset.un >> shiftval | in do_alignment()
418 offset.un << (32 - shiftval); in do_alignment()
/arch/arm/mm/
Dalignment.c855 unsigned int shiftval = SHIFT_BITS(instr); in do_alignment() local
859 offset.un <<= shiftval; in do_alignment()
863 offset.un >>= shiftval; in do_alignment()
867 offset.sn >>= shiftval; in do_alignment()
871 if (shiftval == 0) { in do_alignment()
876 offset.un = offset.un >> shiftval | in do_alignment()
877 offset.un << (32 - shiftval); in do_alignment()