Re: [PATCH v3 01/17] riscv: Introduce instruction table generation
Nam Cao <[email protected]> Wed, 05 Aug 2026 13:32:35 +0200
| Newsgroups | org.infradead.lists.linux-riscv,org.infradead.lists.kvm-riscv,org.kernel.vger.kvm,org.kernel.vger.linux-kernel,org.kernel.vger.linux-kselftest |
|---|---|
| Message-ID | <[email protected]> |
Charlie Jenkins <[email protected]> writes: > + # Replace all . with _ > + formatted_inst_name=$name > + while [ ! ${formatted_inst_name##*.*} ]; do > + prefix=${formatted_inst_name%.*} > + suffix=${formatted_inst_name##*.} > + contains_dot=${formatted_inst_name##*.*} Isn't contains_dot always empty, because we only get here if formatted_inst_name has a dot? > + # Instruction only appears in one base > + only_base= > + if [ "${base}" != "${base%32}" ]; then Does if [ "${base}" = "32" ]; then work? Nam _______________________________________________ linux-riscv mailing list [email protected] http://lists.infradead.org/mailman/listinfo/linux-riscv