Title: conditional infixes are deprecated in unified syntax
Tags: assembly;arm;conditional;predicate;gnu-assembler
Question: how to rework the "conditional infixes" for the ARM Thumb assembler?
the error "conditional infixes are deprecated in unified syntax" has happened as an output of the GNU Tools ARM (thumb) assembler on the following directives set:
IT PL
MOVPL   r14,#0x80000000     @ r14=0x80000000
IT VS
MOVVSS  r7,r14              @ DiffR=SAT(R-RightDC)
IT VS
MOVVSS  r6,r14              @ DiffL=SAT(L-LeftDC)
Comment: Perhaps it wants you to write `movsvs` (with the predicate last, after the `s`)?

Comment: @PeterCordes is correct, for GNU assembler the `S` is not last. However, noticed that Keil might not work that way, I have seen in a book that recommended putting the `S` as last where they talk about Keil exclusively. The Arm documents often prefer Keil as well as they purchased them in 2005. What I'm trying to say that you might be reading documents/manual which might fit the GNU Assembler in many ways while not being it for GNU Assembler. And there will be cases where the information can't be applied on the GNU Assembler and this might be one of the cases.

Comment: For example "Arm Assembly Language Programming & Architecture - Second Edition" by Muhammad Ali Mazidi et al. 2016 states the following on page 152: `Note that the 'S' suffix and the condition suffix are independent of each other. We can add both 'S' and condition suffix to the opcode of an instruction. It is common to put 'S' after the condition.`. On page 9 states `We have used the Keil Compiler for the programs throughout this book.` So they used it for example programs, but in essence their ISA description (and non-example parts of the document) are from Keil perspective only.

Comment: And there are cases of changing syntax as well, for example page 25: `Notice that in most instructions like ADD and SUB, Rn can be omitted if the Rd and Rn are the same. This format is no longer recommended by Unified Assembler Language.`. So you can see recommendations which do not apply to your toolchain at all, our that they were recomended at some point but are not any longer.



{'source': 'StackExchangeDataset', 'subset': 'stackoverflow.com', 'metadata': {'AnswerCount': 0, 'CommentCount': 4, 'ContentLicense': 'CC BY-SA 4.0', 'CreationDate': '2018:00:08/29/18', 'FavoriteCount': 2.0, 'PostTypeId': 1, 'Tags': '<assembly><arm><conditional><predicate><gnu-assembler>', 'Title': 'conditional infixes are deprecated in unified syntax', 'ViewCount': 385, 'id': 52076976, 'user_AboutMe': '<p>Role:\nEmbedded/mobile/IoT systems hardware and software design architect, experienced in debugging/porting/integration, cross-environment distributed team management.\nTechnology:\nLanguages:  C/C++, ARM/NXP/TI DSP Assemblies, gas, csh, ksh, zsh, tcl/tk, python3, XML, JSON, MongoDB, UML, SysML, MISRA, REXX, Forth, VHDL.\nTools:  CLion, sublime, XpressoIDE, OpenOCD, Xilinx ISE/Vivado, iMpact, xc3sprog, XCode, avrdude, Eclipse, GIT, GDB, STL, Trace32, SystemView, Philips NMDK, RealView, TI Code Composer, Rational Rose, ClearCase, Qt/Qtopia, EMP SDK, LWIP, CURL, Zlib, Gerrit, Mercurial, CHIRP, bitbake, repo, git, jira, vim, emacs, gdb.\nOS:  Ubuntu/Fedora, ThreadX TrustZone, MacOSX, homebrew, Parallels, Android, Symbian S60(3rd/2nd ed)/UIQ, Embedded Linux, V4L2, Nucleus, VxWorks, Obigo Framework, EMP, Palm OS, OpenWRT, Yocto, Buildroot, LEDE, Angstrom, ConfD RPC, DPDK, MQTT.\nHW:  Xilinx Zynq/Artix/Kintex/Spartan/Virtex/CPLD, STMicro Nomadik 88xx, Silabs SC47xx/SC49xx, NXP iMX/iMXRT/JN516x, TI OMAP, Intel PXA25x-26x, Samsung SGH, Arduino, Raspberry PI, BeagleBone Black, Parallella, Enclustra, XDS510PP plus, Lauterbach LA-7705 JTAGs, logical analyzers, simulators, USB, UART, Bluetooth, accelerometer, gyroscope, thermometer, Hayes, edma, adma, sai, spi, 1 wire, i2s, i2c, MDIO, SDIO, GPIO, PWM, RTC, DSI, CSI, LVDS, SATA, SCSI, 1394/FireWire, PCMCIA, ExpressCard, USB, JTAG, CAN, AUTOSAR, ECU, 10G NIC.</p>\n', 'user_AccountId': 9295859.0, 'user_DisplayName': 'Oleg Kokorin', 'user_Reputation': 1910.0, 'user_Views': 261.0, 'user_id': 6902803.0}}