mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-24 12:31:25 +08:00
darwin, powerpc - set .machine in an asm file.
The asm file fails to build if we use a modern assembler which checks that the machine is consistent with the filetype. Fixed by adjusting in a similar manner to other assembler. libgcc/ 2019-05-12 Iain Sandoe <iain@sandoe.co.uk> * config/rs6000/darwin-vecsave.S: Set .machine appropriately. From-SVN: r271111
This commit is contained in:
parent
0f8768f734
commit
ef5eb79dfd
libgcc
@ -1,3 +1,7 @@
|
||||
2019-05-12 Iain Sandoe <iain@sandoe.co.uk>
|
||||
|
||||
* config/rs6000/darwin-vecsave.S: Set .machine appropriately.
|
||||
|
||||
2019-05-07 Hongtao Liu <hongtao.liu@intel.com>
|
||||
|
||||
* config/i386/cpuinfo.c (get_available_features): Detect BF16.
|
||||
|
@ -31,8 +31,14 @@
|
||||
(4 bytes) to do the operation; for Vector regs, 2 instructions are
|
||||
required (8 bytes.). */
|
||||
|
||||
/* With some assemblers, we need the correct machine directive to get the
|
||||
right CPU type / subtype in the file header. */
|
||||
#if __ppc64__
|
||||
.machine ppc64
|
||||
#else
|
||||
.machine ppc7400
|
||||
.text
|
||||
#endif
|
||||
.text
|
||||
.align 2
|
||||
|
||||
.private_extern saveVEC
|
||||
|
Loading…
x
Reference in New Issue
Block a user