MCPcopy Index your code
hub / github.com/encounter/objdiff / shift_style

Function shift_style

objdiff-core/src/arch/arm64.rs:1963–1978  ·  view source on GitHub ↗
(style: ShiftStyle)

Source from the content-addressed store, hash-verified

1961}
1962
1963fn shift_style(style: ShiftStyle) -> &'static str {
1964 match style {
1965 ShiftStyle::LSL => "lsl",
1966 ShiftStyle::LSR => "lsr",
1967 ShiftStyle::ASR => "asr",
1968 ShiftStyle::ROR => "ror",
1969 ShiftStyle::UXTB => "uxtb",
1970 ShiftStyle::UXTH => "uxth",
1971 ShiftStyle::UXTW => "uxtw",
1972 ShiftStyle::UXTX => "uxtx",
1973 ShiftStyle::SXTB => "sxtb",
1974 ShiftStyle::SXTH => "sxth",
1975 ShiftStyle::SXTW => "sxtw",
1976 ShiftStyle::SXTX => "sxtx",
1977 }
1978}
1979
1980fn condition_code(cond: u8) -> &'static str {
1981 match cond {

Callers 1

push_shiftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected