blob: 954e1ddf1c0a6b3fa82a2ae7499f8c21498156ed [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-march=rv32im -mabi=ilp32" } */
/* { dg-skip-if "" { *-*-* } { "-O0" } } */
/* This test only applies to RV32. Some of 64bit constants in this test will be put
into the constant pool in RV64, since RV64 might need one extra instruction to load
64bit constant. */
unsigned long long
rv32_mov_64bit_int1 (void)
{
return 0x739290001LL;
}
unsigned long long
rv32_mov_64bit_int2 (void)
{
return 0x839290001LL;
}
unsigned long long
rv32_mov_64bit_int3 (void)
{
return 0x3929000139290000LL;
}
unsigned long long
rv32_mov_64bit_int4 (void)
{
return 0x3929001139290000LL;
}
unsigned long long
rv32_mov_64bit_int5 (void)
{
return 0x14736def39290000LL;
}
/* { dg-final { scan-assembler-not "lw\t" } } */