Closed GunnarVB closed 9 months ago
please test
Hallo Bebbo, Thank you for the swift action.
I tested the current GCC/binutils and I'm getting this error when compiling a program with it.
insn does not satisfy its constraints: } ^ (insn 1426 171 174 20 (set (reg/v:DI 237 [ __comp ]) (const_int 0 [0])) /home/avb/ApolloCrossDev/Compilers/GCC-6.50/ApolloCrossDev/lib/gcc/m68k-amigaos/6.5.0b/include/c++/bits/stl_algo.h:1965 60 {*movdi_const0_68080} (nil))
Does this tell you something?
see https://github.com/bebbo/gcc/issues/218 registers are allowed too now
Thank you very much! Bebbo you are great!
I close this now
File: opcodes/m68k-opc.c
Please add this line to enable CLR.Q
-- Question 2: For C code like this:
GCC will right now create this:
Could GCC be enhanced to use the CLR.Q opcode here for setting the two longs in one instruction?
Many thanks in advance!!