Project

General

Profile

Bug #9465

Error: unknown pseudo-op: `.page_table_sv32_step1'

Added by Alexander Protsenko 23 days ago. Updated 16 days ago.

Status:
Closed
Priority:
Normal
Start date:
01/30/2019
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

Ошибка
https://forge.ispras.ru/jenkins/job/MicroTESK_RISCV/lastCompletedBuild/testReport/ru.ispras.microtesk.model.riscv.instruction/InstructionLwSwSv32TestCase/test/

Failed
ru.ispras.microtesk.model.riscv.instruction.InstructionLwSwSv32TestCase.test

Последние 5 сборок провалились (С Нестабильный#1930 )
Заняло 7.9 секунд.
добавить описание
Сообщение об ошибке
java.lang.AssertionError: Process has returned '1': "/opt/riscv/bin/riscv64-unknown-linux-gnu-as /srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s -march=rv64imafdc -o /srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.o" 
Error log is:
 /srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s: Assembler messages:
/srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s:103: Error: illegal operands `la s0,0x10000'
/srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s:142: Error: unknown pseudo-op: `.page_table_sv32_step1'
/srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s:149: Error: unknown pseudo-op: `.page_table_sv32_step0'
/srv/jenkins/workspace/MicroTESK_RISCV/microtesk-riscv/build/test/instruction/instruction_lw_sw_sv32/instruction_lw_sw_sv32_0000.s:156: Error: unknown pseudo-op: `.data_for_sv32'

Ассемблер:


    #==================================================================================================
    # Data

    #============================================= .data ==============================================
    .data

    #========================================== Global Data ===========================================
    .align 4
    .globl begin_signature
begin_signature:

    .align 4
    .globl end_signature
end_signature:
    #==================================== .page_table_sv32_step1 ======================================
    .page_table_sv32_step1

data1:
    .word 0x33B488E1, 0xDEADBEEF, 0xDEADBEEF, 0xDEADBEEF
end1:
    .skip 1
    #==================================== .page_table_sv32_step0 ======================================
    .page_table_sv32_step0

data0:
    .word 0x37B488E3, 0xDEADBEEF, 0xDEADBEEF, 0xDEADBEEF
end0:
    .skip 1
    #======================================== .data_for_sv32 ==========================================
    .data_for_sv32

data:
    .word 0xC001BEEF, 0xC001BEEF, 0xC001BEEF, 0xC001BEEF
end:
    .skip 1

Шаблон:


  def TEST_DATA
    section(:name => '.page_table_sv32_step1',
            :pa   => 0x00000000BED22800,
            :va   => 0x00000000BED22800) {
      data {
        # Page Table Level: 1
        label :data1
        word 0x33B488e1, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef
        label :end1
        space 1
      }
    }

    section(:name => '.page_table_sv32_step0',
            :pa   => 0x00000000CED22040,
            :va   => 0x00000000CED22040) {
      data {
        # Page Table Level: 0
        label :data0
        word 0x37B488e3, 0xdeadbeef, 0xdeadbeef, 0xdeadbeef
        label :end0
        space 1
      }
    }

    section(:name => '.data_for_sv32',
            :pa   => 0x00000000DED22130,
            :va   => 0x00000000DED22130) {
      data {
        # Data
        label :data
        word 0xc001beef, 0xc001beef, 0xc001beef, 0xc001beef
        label :end
        space 1
      }
    }
  end

History

#1 Updated by Alexander Protsenko 16 days ago

Корректный вариант:

    section(:name => 'page_table_sv48_step1_2', :prefix => '.section',
            :pa   => 0x00000000C6D22000,
            :va   => 0x00000000C6D22000) {
      data {
        # Page Table Level: 1
        label :data1
        dword 0x0000000035B488e1, 0xdeadbeefdeadbeef
        label :end1
        space 1
      }
    }

#2 Updated by Alexander Protsenko 16 days ago

  • Status changed from New to Resolved

#3 Updated by Alexander Protsenko 16 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF