Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Linux/arch/microblaze/lib/     Datei vom 24.10.2025 mit Größe 470 B image not shown  

Quelle  cmpdi2.c   Sprache: C

 

// SPDX-License-Identifier: GPL-2.0
#include <linux/export.h>

#include "libgcc.h"

word_type __cmpdi2(long long a, long long b)
{
 const DWunion au = {
  .ll = a
 };
 const DWunion bu = {
  .ll = b
 };

 if (au.s.high < bu.s.high)
  return 0;
 else if (au.s.high > bu.s.high)
  return 2;

 if ((unsigned int) au.s.low < (unsigned int) bu.s.low)
  return 0;
 else if ((unsigned int) au.s.low > (unsigned int) bu.s.low)
  return 2;

 return 1;
}
EXPORT_SYMBOL(__cmpdi2);

Messung
CHZG
821007886

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-24) ¤

*© Formatika GbR, Deutschland