File: i64.load32_u.cpp

package info (click to toggle)
binaryen 68-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 34,900 kB
  • sloc: cpp: 57,351; ansic: 3,562; python: 2,898; sh: 700; makefile: 6
file content (16 lines) | stat: -rw-r--r-- 256 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdint.h>
#include <stdio.h>

volatile uint64_t x = 0x0101010101010101;
volatile uint32_t u = 0xfefefefe;

int main(void)
{
   putchar('a' + (x >> 60));

   x = u;    // i64.load32_u

   putchar('A' + (x >> 60));
   putchar('\n');
   return 0;
}