Project

General

Profile

Actions

Defect #676

open

Register shortage

Added by Rochus Keller about 1 year ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Category:
AMD64 Back-End
Target version:
-
% Done:

0%


Description

I get an error from asmparser.cpp on line 31478 of the attached dtoa.cod: invalid integer literal '1e'

The corresponding code is:

    mov    f8 [@WCEWioxoyW#tens + 120], f8 1000000000000000
    mov    f8 [@WCEWioxoyW#tens + 128], f8 10000000000000000
    mov    f8 [@WCEWioxoyW#tens + 136], f8 100000000000000000
    mov    f8 [@WCEWioxoyW#tens + 144], f8 1000000000000000000
    mov    f8 [@WCEWioxoyW#tens + 152], f8 10000000000000000000
    mov    f8 [@WCEWioxoyW#tens + 160], f8 1e+20                                             ; <--- line 31478
    mov    f8 [@WCEWioxoyW#tens + 168], f8 1e+21
    mov    f8 [@WCEWioxoyW#tens + 176], f8 1e+22

In Parser::Context::ParsePrimary the condition IsCurrent (Lexer::Integer) is true, and current.string is "1e" and symbol is ECS::Assembly::Lexer::Integer.


Files

dtoa.cod (718 KB) dtoa.cod Rochus Keller, 16 August 2024 18:21
dtoa.c (156 KB) dtoa.c Rochus Keller, 16 August 2024 18:52
Actions

Also available in: Atom PDF