Lines Matching refs:swap
460 (define-pmacro cris-swap-codes
723 (name h-swap)
732 (.pmacro (x y) ((.str x) y)) cris-swap-codes (.iota 15 1)))))
1638 (dnop swapoption "Swap option" () h-swap f-dest)
3639 (define-pmacro (swap-r x)
3640 "Perform bit-wise swap within each byte"
3655 (define-pmacro (swap-b x)
3656 "Perform byte-wise swap within each word"
3665 (define-pmacro (swap-w x)
3666 "Perform word-wise swap within each dword"
3675 (define-pmacro (swap-_ x)
3676 "Do nothing swap-wise"
3677 (error SI "SWAP without swap modifier isn't implemented")
3680 (define-pmacro (swap-n x)
3685 (define-pmacro (swap-br x) "Combine swap-r and swap-b" (swap-r (swap-b x)))
3686 (define-pmacro (swap-wr x) "Combine swap-r and swap-w" (swap-r (swap-w x)))
3687 (define-pmacro (swap-wb x) "Combine swap-b and swap-w" (swap-b (swap-w x)))
3688 (define-pmacro (swap-wbr x) "Combine swap-r and swap-wb" (swap-r (swap-wb x)))
3689 (define-pmacro (swap-nr x) "Combine swap-r and swap-n" (swap-r (swap-n x)))
3690 (define-pmacro (swap-nb x) "Combine swap-n and swap-b" (swap-b (swap-n x)))
3691 (define-pmacro (swap-nbr x) "Combine swap-r and swap-nb" (swap-r (swap-nb x)))
3692 (define-pmacro (swap-nw x) "Combine swap-n and swap-w" (swap-w (swap-n x)))
3693 (define-pmacro (swap-nwr x) "Combine swap-r and swap-nw" (swap-r (swap-nw x)))
3694 (define-pmacro (swap-nwb x) "Combine swap-b and swap-nw" (swap-b (swap-nw x)))
3695 (define-pmacro (swap-nwbr x) "Combine swap-r and swap-nwb" (swap-r (swap-nwb x)))
3697 (define-pmacro (cris-swap swapcode val)
3708 (x-swapcode x-swap)
3710 (set tmpres ((.sym swap- x-swap) tmpval))))
3712 (.splice _ (.unsplice cris-swap-codes)))))
3725 (set tmpd (cris-swap 8 tmp))
3732 swap "Swap"
3734 "swap${swapoption} ${Rs}"
3739 (set tmpd (cris-swap swapoption tmps))