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

Quelle  lshrdi3.c   Sprache: C

 

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

#include "libgcc.h"

long long __lshrdi3(long long u, word_type b)
{
 DWunion uu, w;
 word_type bm;

 if (b == 0)
  return u;

 uu.ll = u;
 bm = 32 - b;

 if (bm <= 0) {
  w.s.high = 0;
  w.s.low = (unsigned int) uu.s.high >> -bm;
 } else {
  const unsigned int carries = (unsigned int) uu.s.high << bm;

  w.s.high = (unsigned int) uu.s.high >> b;
  w.s.low = ((unsigned int) uu.s.low >> b) | carries;
 }

 return w.ll;
}
EXPORT_SYMBOL(__lshrdi3);

Messung
CHZG
821009090

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

*© Formatika GbR, Deutschland