diff options
author | Stafford Horne <shorne@gmail.com> | 2019-06-13 06:16:19 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2019-06-13 06:16:19 +0900 |
commit | a2e4218f237dd1555249555f8be4165aa8e56b6a (patch) | |
tree | 05a35f9498847afbc98629880b5076e5aa5fc378 /cpu | |
parent | eb212c84a12bd0adb29792737ab2423d72c182f7 (diff) | |
download | binutils-a2e4218f237dd1555249555f8be4165aa8e56b6a.zip binutils-a2e4218f237dd1555249555f8be4165aa8e56b6a.tar.gz binutils-a2e4218f237dd1555249555f8be4165aa8e56b6a.tar.bz2 |
cpu/or1k: Update fpu compare symbols to imply set flag
The fpu compare symbols where not including 'sf' in the mnemonic. So
instead of `lf-sfeq` (implying set flag if operands are equal) we were
having `lf-eq`. This patch adds the 'sf'. This helps with making the
generated CGEN documentation consistent and ordered correctly.
cpu/ChangeLog:
yyyy-mm-dd Stafford Horne <shorne@gmail.com>
* or1korfpx.cpu (float-setflag-insn-base): Add 'sf' to symbol.
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/ChangeLog | 4 | ||||
-rw-r--r-- | cpu/or1korfpx.cpu | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/cpu/ChangeLog b/cpu/ChangeLog index 087e6c6..1ac7b2b 100644 --- a/cpu/ChangeLog +++ b/cpu/ChangeLog @@ -1,5 +1,9 @@ 2019-06-13 Stafford Horne <shorne@gmail.com> + * or1korfpx.cpu (float-setflag-insn-base): Add 'sf' to symbol. + +2019-06-13 Stafford Horne <shorne@gmail.com> + * or1k.cpu (or64nd, or32nd, or1200nd): Update comment.a (l-adrp): Improve comment. diff --git a/cpu/or1korfpx.cpu b/cpu/or1korfpx.cpu index 5e33b82..f43522f 100644 --- a/cpu/or1korfpx.cpu +++ b/cpu/or1korfpx.cpu @@ -268,7 +268,7 @@ (define-pmacro (float-setflag-insn-base mnemonic rtx-mnemonic symantics) (begin - (dni (.sym lf- mnemonic -s) + (dni (.sym lf-sf mnemonic -s) (.str "lf.sf" mnemonic ".s reg/reg") ((MACH ORFPX32-MACHS)) (.str "lf.sf" mnemonic ".s $rASF,$rBSF") @@ -276,7 +276,7 @@ (symantics rtx-mnemonic SF rASF rBSF) () ) - (dni (.sym lf- mnemonic -d) + (dni (.sym lf-sf mnemonic -d) (.str "lf.sf" mnemonic ".d reg/reg") ((MACH ORFPX64-MACHS)) (.str "lf.sf" mnemonic ".d $rADF,$rBDF") @@ -284,7 +284,7 @@ (symantics rtx-mnemonic DF rADF rBDF) () ) - (dni (.sym lf- mnemonic -d32) + (dni (.sym lf-sf mnemonic -d32) (.str "lf.sf" mnemonic ".d regpair/regpair") ((MACH ORFPX64A32-MACHS)) (.str "lf.sf" mnemonic ".d $rAD32F,$rBD32F") |