[avr,applied] : Simplify asm macro skip.

Message ID fcc8bcbf-f1e0-ec22-b9bc-fbc822e47674@gjlay.de
State New
Headers show
Series
  • [avr,applied] : Simplify asm macro skip.
Related show

Commit Message

Georg-Johann Lay Jan. 14, 2020, 10:18 a.m.
Applied the following trivial and obvious patch to the avr back.

Johann

libgcc/
	* config/avr/lib1funcs.S (skip): Simplify.


  .macro NEG2  reg

Patch

diff --git a/libgcc/config/avr/lib1funcs.S b/libgcc/config/avr/lib1funcs.S
index 8ebdc01c88c..2ffa2090b25 100644
--- a/libgcc/config/avr/lib1funcs.S
+++ b/libgcc/config/avr/lib1funcs.S
@@ -169,11 +169,7 @@  see the files COPYING3 and COPYING.RUNTIME 
respectively.  If not, see
  .endm

  ;; Skip next instruction, typically a jump target
-#if defined(__AVR_TINY__)
-#define skip cpse 0,0
-#else
  #define skip cpse 16,16
-#endif

  ;; Negate a 2-byte value held in consecutive registers