Repository: compiler-explorer/compiler-explorer
Pull request #6534 (2024-05-27 16:10:38)

Add ISPC v1.24.0
ISPC v1.24.0 has been released. Related change: https://github.com/compiler-explorer/infra/pull/1316



Patch:
diff --git a/etc/config/ada.amazon.properties b/etc/config/ada.amazon.properties
index a0d42681a..56529bdc5 100644
--- a/etc/config/ada.amazon.properties
+++ b/etc/config/ada.amazon.properties
@@ -85,7 +85,7 @@ compiler.gnatloongarch641410.demangler=/opt/compiler-explorer/loongarch64/gcc-14
 
 ################################
 # GNAT for sparc-leon
-group.gnatsparcleons.compilers=gnatsparcleon1310:gnatsparcleon1320:gnatsparcleon1330
+group.gnatsparcleons.compilers=gnatsparcleon1310:gnatsparcleon1320:gnatsparcleon1330:gnatsparcleon1410
 group.gnatsparcleons.groupName=SPARC LEON GNAT
 group.gnatsparcleons.baseName=sparc leon gnat
 
@@ -104,6 +104,11 @@ compiler.gnatsparcleon1330.semver=13.3.0
 compiler.gnatsparcleon1330.objdumper=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
 compiler.gnatsparcleon1330.demangler=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
 
+compiler.gnatsparcleon1410.exe=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gnatmake
+compiler.gnatsparcleon1410.semver=14.1.0
+compiler.gnatsparcleon1410.objdumper=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
+compiler.gnatsparcleon1410.demangler=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
+
 ################################
 # GNAT for sparc
 group.gnatsparcs.compilers=gnatsparc1220:gnatsparc1230:gnatsparc1310:gnatsparc1320:gnatsparc1330:gnatsparc1410
diff --git a/etc/config/c++.amazon.properties b/etc/config/c++.amazon.properties
index b50e55709..bafce754e 100644
--- a/etc/config/c++.amazon.properties
+++ b/etc/config/c++.amazon.properties
@@ -35,26 +35,35 @@ compiler.g346.exe=/opt/compiler-explorer/gcc-renovated-3.4.6/bin/g++
 compiler.g346.semver=3.4.6
 compiler.g404.exe=/opt/compiler-explorer/gcc-renovated-4.0.4/bin/g++
 compiler.g404.semver=4.0.4
+compiler.g404.supportsBinary=false
+compiler.g404.supportsExecute=false
 compiler.g412.exe=/opt/compiler-explorer/gcc-4.1.2/bin/g++
 compiler.g412.semver=4.1.2
 compiler.g412.supportsBinary=false
+compiler.g412.supportsExecute=false
 compiler.g447.exe=/opt/compiler-explorer/gcc-4.4.7/bin/g++
 compiler.g447.alias=/usr/bin/g++-4.4
 compiler.g447.semver=4.4.7
 compiler.g447.supportsBinary=false
+compiler.g447.supportsExecute=false
 compiler.g453.exe=/opt/compiler-explorer/gcc-4.5.3/bin/g++
 compiler.g453.alias=/usr/bin/g++-4.5
 compiler.g453.semver=4.5.3
+compiler.g453.supportsExecute=false
 compiler.g453.supportsBinary=false
 compiler.g464.exe=/opt/compiler-explorer/gcc-4.6.4/bin/g++
 compiler.g464.alias=/usr/bin/g++-4.6
 compiler.g464.semver=4.6.4
+compiler.g464.supportsBinary=false
+compiler.g464.supportsExecute=false
 compiler.g471.exe=/opt/compiler-explorer/gcc-4.7.1/bin/g++
 compiler.g471.semver=4.7.1
 compiler.g471.supportsBinary=false
+compiler.g471.supportsExecute=false
 compiler.g472.exe=/opt/compiler-explorer/gcc-4.7.2/bin/g++
 compiler.g472.semver=4.7.2
 compiler.g472.supportsBinary=false
+compiler.g472.supportsExecute=false
 compiler.g473.exe=/opt/compiler-explorer/gcc-4.7.3/bin/g++
 compiler.g473.semver=4.7.3
 compiler.g473.alias=/usr/bin/g++-4.7
@@ -1491,7 +1500,7 @@ compiler.sparc64g1410.demangler=/opt/compiler-explorer/sparc64/gcc-14.1.0/sparc6
 group.sparcleon.compilers=&gccsparcleon
 
 # GCC for SPARC-LEON
-group.gccsparcleon.compilers=sparcleong1220:sparcleong1220-1:sparcleong1230:sparcleong1310:sparcleong1320:sparcleong1330
+group.gccsparcleon.compilers=sparcleong1220:sparcleong1220-1:sparcleong1230:sparcleong1310:sparcleong1320:sparcleong1330:sparcleong1410
 group.gccsparcleon.baseName=SPARC LEON gcc
 group.gccsparcleon.groupName=SPARC LEON GCC
 group.gccsparcleon.isSemVer=true
@@ -1523,6 +1532,11 @@ compiler.sparcleong1330.semver=13.3.0
 compiler.sparcleong1330.objdumper=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
 compiler.sparcleong1330.demangler=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
 
+compiler.sparcleong1410.exe=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-g++
+compiler.sparcleong1410.semver=14.1.0
+compiler.sparcleong1410.objdumper=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
+compiler.sparcleong1410.demangler=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
+
 compiler.sparcleong1220-1.exe=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-g++
 compiler.sparcleong1220-1.semver=12.2.0
 compiler.sparcleong1220-1.objdumper=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
diff --git a/etc/config/c.amazon.properties b/etc/config/c.amazon.properties
index 2ce868941..a76c59816 100644
--- a/etc/config/c.amazon.properties
+++ b/etc/config/c.amazon.properties
@@ -28,21 +28,37 @@ group.cgcc86.compilerCategories=gcc
 
 compiler.cg346.exe=/opt/compiler-explorer/gcc-renovated-3.4.6/bin/gcc
 compiler.cg346.semver=3.4.6
+compiler.cg346.supportsBinary=false
+compiler.cg346.supportsExecute=false
 compiler.cg404.exe=/opt/compiler-explorer/gcc-renovated-4.0.4/bin/gcc
 compiler.cg404.semver=4.0.4
+compiler.cg404.supportsBinary=false
+compiler.cg404.supportsExecute=false
 compiler.cg412.exe=/opt/compiler-explorer/gcc-4.1.2/bin/gcc
 compiler.cg412.semver=4.1.2
+compiler.cg412.supportsBinary=false
+compiler.cg412.supportsExecute=false
 compiler.cg447.exe=/opt/compiler-explorer/gcc-4.4.7/bin/gcc
 compiler.cg447.semver=4.4.7
+compiler.cg447.supportsBinary=false
+compiler.cg447.supportsExecute=false
 compiler.cg453.exe=/opt/compiler-explorer/gcc-4.5.3/bin/gcc
 compiler.cg453.semver=4.5.3
+compiler.cg453.supportsBinary=false
+compiler.cg453.supportsExecute=false
 compiler.cg464.exe=/opt/compiler-explorer/gcc-4.6.4/bin/gcc
 compiler.cg464.alias=/usr/bin/gcc-4.6
 compiler.cg464.semver=4.6.4
+compiler.cg464.supportsBinary=false
+compiler.cg464.supportsExecute=false
 compiler.cg471.exe=/opt/compiler-explorer/gcc-4.7.1/bin/gcc
 compiler.cg471.semver=4.7.1
+compiler.cg471.supportsBinary=false
+compiler.cg471.supportsExecute=false
 compiler.cg472.exe=/opt/compiler-explorer/gcc-4.7.2/bin/gcc
 compiler.cg472.semver=4.7.2
+compiler.cg472.supportsBinary=false
+compiler.cg472.supportsExecute=false
 compiler.cg473.exe=/opt/compiler-explorer/gcc-4.7.3/bin/gcc
 compiler.cg473.semver=4.7.3
 compiler.cg474.exe=/opt/compiler-explorer/gcc-4.7.4/bin/gcc
@@ -1176,7 +1192,7 @@ compiler.csparc64g1410.demangler=/opt/compiler-explorer/sparc64/gcc-14.1.0/sparc
 group.csparcleon.compilers=&cgccsparcleon
 
 # GCC for SPARC-LEON
-group.cgccsparcleon.compilers=csparcleong1220:csparcleong1220-1:csparcleong1230:csparcleong1310:csparcleong1320:csparcleong1330
+group.cgccsparcleon.compilers=csparcleong1220:csparcleong1220-1:csparcleong1230:csparcleong1310:csparcleong1320:csparcleong1330:csparcleong1410
 group.cgccsparcleon.baseName=SPARC LEON gcc
 group.cgccsparcleon.groupName=SPARC LEON GCC
 group.cgccsparcleon.isSemVer=true
@@ -1208,6 +1224,11 @@ compiler.csparcleong1330.semver=13.3.0
 compiler.csparcleong1330.objdumper=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
 compiler.csparcleong1330.demangler=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
 
+compiler.csparcleong1410.exe=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gcc
+compiler.csparcleong1410.semver=14.1.0
+compiler.csparcleong1410.objdumper=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
+compiler.csparcleong1410.demangler=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
+
 compiler.csparcleong1220-1.exe=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gcc
 compiler.csparcleong1220-1.semver=12.2.0
 compiler.csparcleong1220-1.objdumper=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
diff --git a/etc/config/fortran.amazon.properties b/etc/config/fortran.amazon.properties
index 6190f70af..7b78bbae8 100644
--- a/etc/config/fortran.amazon.properties
+++ b/etc/config/fortran.amazon.properties
@@ -335,7 +335,7 @@ compiler.fsparc64g1410.demangler=/opt/compiler-explorer/sparc64/gcc-14.1.0/sparc
 
 ###############################
 # GCC for SPARC LEON
-group.gccsparcleon.compilers=fsparcleong1220:fsparcleong1220-1:fsparcleong1230:fsparcleong1310:fsparcleong1320:fsparcleong1330
+group.gccsparcleon.compilers=fsparcleong1220:fsparcleong1220-1:fsparcleong1230:fsparcleong1310:fsparcleong1320:fsparcleong1330:fsparcleong1410
 group.gccsparcleon.groupName=SPARC LEON gfortran
 group.gccsparcleon.baseName=SPARC LEON gfortran
 
@@ -371,6 +371,11 @@ compiler.fsparcleong1330.semver=13.3.0
 compiler.fsparcleong1330.objdumper=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
 compiler.fsparcleong1330.demangler=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
 
+compiler.fsparcleong1410.exe=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gfortran
+compiler.fsparcleong1410.semver=14.1.0
+compiler.fsparcleong1410.objdumper=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
+compiler.fsparcleong1410.demangler=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
+
 ###############################
 # GCC for LOONGARCH64
 group.gccloongarch64.compilers=floongarch64g1220:floongarch64g1230:floongarch64g1310:floongarch64g1320:floongarch64g1410:floongarch64g1330
diff --git a/etc/config/ispc.amazon.properties b/etc/config/ispc.amazon.properties
index b8e78a10d..df571fe95 100644
--- a/etc/config/ispc.amazon.properties
+++ b/etc/config/ispc.amazon.properties
@@ -1,9 +1,11 @@
 compilers=&ispc
-defaultCompiler=ispc1230
+defaultCompiler=ispc1240
 
-group.ispc.compilers=ispc1230:ispc1220:ispc1210:ispc1200:ispc1190:ispc1180:ispc1170:ispc1161:ispc1160:ispc1150:ispc1141:ispc1140:ispc1130:ispc1120:ispc1110:ispc1100:ispc192:ispc191:ispc-trunk:ispc-templates_new-trunk
+group.ispc.compilers=ispc1240:ispc1230:ispc1220:ispc1210:ispc1200:ispc1190:ispc1180:ispc1170:ispc1161:ispc1160:ispc1150:ispc1141:ispc1140:ispc1130:ispc1120:ispc1110:ispc1100:ispc192:ispc191:ispc-trunk:ispc-templates_new-trunk
 group.ispc.isSemVer=true
 group.ispc.baseName=ispc
+compiler.ispc1240.exe=/opt/compiler-explorer/ispc-1.24.0/bin/ispc
+compiler.ispc1240.semver=1.24.0
 compiler.ispc1230.exe=/opt/compiler-explorer/ispc-1.23.0/bin/ispc
 compiler.ispc1230.semver=1.23.0
 compiler.ispc1220.exe=/opt/compiler-explorer/ispc-1.22.0/bin/ispc
diff --git a/etc/config/objc.amazon.properties b/etc/config/objc.amazon.properties
index 46db5a770..75cd63f12 100644
--- a/etc/config/objc.amazon.properties
+++ b/etc/config/objc.amazon.properties
@@ -157,7 +157,7 @@ compiler.objcsparc64g1410.demangler=/opt/compiler-explorer/sparc64/gcc-14.1.0/sp
 group.objcsparcleon.compilers=&objcgccsparcleon
 
 # GCC for SPARC-LEON
-group.objcgccsparcleon.compilers=objcsparcleong1220:objcsparcleong1220-1:objcsparcleong1230:objcsparcleong1310:objcsparcleong1320:objcsparcleong1330
+group.objcgccsparcleon.compilers=objcsparcleong1220:objcsparcleong1220-1:objcsparcleong1230:objcsparcleong1310:objcsparcleong1320:objcsparcleong1330:objcsparcleong1410
 group.objcgccsparcleon.supportsBinary=true
 group.objcgccsparcleon.supportsExecute=false
 group.objcgccsparcleon.baseName=SPARC LEON gcc
@@ -191,6 +191,11 @@ compiler.objcsparcleong1330.semver=13.3.0
 compiler.objcsparcleong1330.objdumper=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
 compiler.objcsparcleong1330.demangler=/opt/compiler-explorer/sparc-leon/gcc-13.3.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
 
+compiler.objcsparcleong1410.exe=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gcc
+compiler.objcsparcleong1410.semver=14.1.0
+compiler.objcsparcleong1410.objdumper=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
+compiler.objcsparcleong1410.demangler=/opt/compiler-explorer/sparc-leon/gcc-14.1.0/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-c++filt
+
 compiler.objcsparcleong1220-1.exe=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-gcc
 compiler.objcsparcleong1220-1.semver=12.2.0
 compiler.objcsparcleong1220-1.objdumper=/opt/compiler-explorer/sparc-leon/gcc-12.2.0-1/sparc-leon-linux-uclibc/bin/sparc-leon-linux-uclibc-objdump
diff --git a/lib/base-compiler.ts b/lib/base-compiler.ts
index ed2d9d5da..41019e2f4 100644
--- a/lib/base-compiler.ts
+++ b/lib/base-compiler.ts
@@ -2663,10 +2663,10 @@ export class BaseCompiler implements ICompiler {
     }
 
     async compile(
-        source,
-        options,
-        backendOptions,
-        filters,
+        source: string,
+        options: string[],
+        backendOptions: Record<string, any>,
+        filters: ParseFiltersAndOutputOptions,
         bypassCache: BypassCache,
         tools,
         executeParameters,
diff --git a/lib/parsers/asm-parser.ts b/lib/parsers/asm-parser.ts
index bcf2f9fb0..e18f7baf1 100644
--- a/lib/parsers/asm-parser.ts
+++ b/lib/parsers/asm-parser.ts
@@ -110,7 +110,7 @@ export class AsmParser extends AsmRegex implements IAsmParser {
         this.definesGlobal = /^\s*\.(?:globa?l|GLB|export)\s*([.A-Z_a-z][\w$.]*)/;
         this.definesWeak = /^\s*\.(?:weakext|weak)\s*([.A-Z_a-z][\w$.]*)/;
         this.indentedLabelDef = /^\s*([$.A-Z_a-z][\w$.]*):/;
-        this.assignmentDef = /^\s*([$.A-Z_a-z][\w$.]*)\s*=/;
+        this.assignmentDef = /^\s*([$.A-Z_a-z][\w$.]*)\s*=\s*(.*)/;
         this.directive = /^\s*\..*$/;
         // These four regexes when phrased as /\s*#APP.*/ etc exhibit costly polynomial backtracking
         // Instead use ^$ and test with regex.test(line.trim()), more robust anyway
@@ -619,7 +619,12 @@ export class AsmParser extends AsmRegex implements IAsmParser {
 
                 // g-as shows local labels as eg: "1:  call  mcount". We characterize such a label as
                 // "the label-matching part doesn't equal the whole line" and treat it as used.
-                if (labelsUsed[match[1]] === undefined && match[0] === line) {
+                // As a special case, consider assignments of the form "symbol = ." to be labels.
+                if (
+                    labelsUsed[match[1]] === undefined &&
+                    match[0] === line &&
+                    (match[2] === undefined || match[2].trim() === '.')
+                ) {
                     // It's an unused label.
                     if (filters.labels) {
                         continue;
diff --git a/static/event-map.ts b/static/event-map.ts
index aea53d43e..a1f8b5a6e 100644
--- a/static/event-map.ts
+++ b/static/event-map.ts
@@ -23,7 +23,6 @@
 // POSSIBILITY OF SUCH DAMAGE.
 
 import {Language} from '../types/languages.interfaces.js';
-import {CompilerOutputOptions} from '../types/features/filters.interfaces.js';
 import {MessageWithLocation} from '../types/resultline/resultline.interfaces.js';
 import {SiteSettings} from './settings.js';
 import {Theme} from './themes.js';
@@ -88,7 +87,6 @@ export type EventMap = {
     ) => void;
     executorClose: (executorId: number) => void;
     executorOpen: (executorId: number, editorId: boolean | number) => void;
-    filtersChange: (compilerId: number, filters: Partial<CompilerOutputOptions>) => void;
     findCompilers: () => void;
     findEditors: () => void;
     findExecutors: () => void;
@@ -144,7 +142,6 @@ export type EventMap = {
     requestTheme: () => void;
     resendCompilation: (compilerId: number) => void;
     requestCompiler: (compilerId: number) => void;
-    requestFilters: (compilerId: number) => void;
     resendExecution: (executorId: number) => void;
     resize: () => void;
     rustHirViewClosed: (compilerId: number) => void;
diff --git a/static/panes/compiler.ts b/static/panes/compiler.ts
index ac8df72f7..b89f88884 100644
--- a/static/panes/compiler.ts
+++ b/static/panes/compiler.ts
@@ -2996,11 +2996,6 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co
 
         this.eventHub.on('cfgViewOpened', this.onCfgViewOpened, this);
         this.eventHub.on('cfgViewClosed', this.onCfgViewClosed, this);
-        this.eventHub.on('requestFilters', id => {
-            if (id === this.id) {
-                this.eventHub.emit('filtersChange', this.id, this.getEffectiveFilters());
-            }
-        });
         this.eventHub.on('requestCompiler', id => {
             if (id === this.id) {
                 this.sendCompiler();
@@ -3216,8 +3211,6 @@ export class Compiler extends MonacoPane<monaco.editor.IStandaloneCodeEditor, Co
     }
 
     onFilterChange(): void {
-        const filters = this.getEffectiveFilters();
-        this.eventHub.emit('filtersChange', this.id, filters);
         this.updateState();
         this.compile();
         this.updateButtons();


Test patch:
diff --git a/test/filters-cases/bug-660.asm.directives.comments.json b/test/filters-cases/bug-660.asm.directives.comments.json
index 7f4ca4c29..0c4e371f9 100644
--- a/test/filters-cases/bug-660.asm.directives.comments.json
+++ b/test/filters-cases/bug-660.asm.directives.comments.json
@@ -457,8 +457,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 2,
-    "$LFB12": 4,
-    "$LVL0": 13,
     "main": 5
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.json b/test/filters-cases/bug-660.asm.directives.json
index 7f4ca4c29..0c4e371f9 100644
--- a/test/filters-cases/bug-660.asm.directives.json
+++ b/test/filters-cases/bug-660.asm.directives.json
@@ -457,8 +457,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 2,
-    "$LFB12": 4,
-    "$LVL0": 13,
     "main": 5
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.labels.comments.json b/test/filters-cases/bug-660.asm.directives.labels.comments.json
index a11f664d7..a82388a4b 100644
--- a/test/filters-cases/bug-660.asm.directives.labels.comments.json
+++ b/test/filters-cases/bug-660.asm.directives.labels.comments.json
@@ -10,11 +10,6 @@
       "source": null,
       "text": "  .ascii \"hello world\\000\""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB12 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -89,11 +84,6 @@
       "source": null,
       "text": ""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LVL0 = ."
-    },
     {
       "labels": [],
       "source": {
@@ -142,8 +132,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 1,
-    "$LFB12": 3,
-    "$LVL0": 12,
-    "main": 4
+    "main": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.labels.comments.library.dontMaskFilenames.json b/test/filters-cases/bug-660.asm.directives.labels.comments.library.dontMaskFilenames.json
index 20d0f2c4c..32c34bb22 100644
--- a/test/filters-cases/bug-660.asm.directives.labels.comments.library.dontMaskFilenames.json
+++ b/test/filters-cases/bug-660.asm.directives.labels.comments.library.dontMaskFilenames.json
@@ -10,11 +10,6 @@
       "source": null,
       "text": "  .ascii \"hello world\\000\""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB12 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -95,11 +90,6 @@
       "source": null,
       "text": ""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LVL0 = ."
-    },
     {
       "labels": [],
       "source": {
@@ -153,8 +143,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 1,
-    "$LFB12": 3,
-    "$LVL0": 12,
-    "main": 4
+    "main": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.labels.comments.library.json b/test/filters-cases/bug-660.asm.directives.labels.comments.library.json
index a11f664d7..a82388a4b 100644
--- a/test/filters-cases/bug-660.asm.directives.labels.comments.library.json
+++ b/test/filters-cases/bug-660.asm.directives.labels.comments.library.json
@@ -10,11 +10,6 @@
       "source": null,
       "text": "  .ascii \"hello world\\000\""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB12 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -89,11 +84,6 @@
       "source": null,
       "text": ""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LVL0 = ."
-    },
     {
       "labels": [],
       "source": {
@@ -142,8 +132,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 1,
-    "$LFB12": 3,
-    "$LVL0": 12,
-    "main": 4
+    "main": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.labels.json b/test/filters-cases/bug-660.asm.directives.labels.json
index a11f664d7..a82388a4b 100644
--- a/test/filters-cases/bug-660.asm.directives.labels.json
+++ b/test/filters-cases/bug-660.asm.directives.labels.json
@@ -10,11 +10,6 @@
       "source": null,
       "text": "  .ascii \"hello world\\000\""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB12 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -89,11 +84,6 @@
       "source": null,
       "text": ""
     },
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LVL0 = ."
-    },
     {
       "labels": [],
       "source": {
@@ -142,8 +132,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 1,
-    "$LFB12": 3,
-    "$LVL0": 12,
-    "main": 4
+    "main": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/bug-660.asm.directives.library.json b/test/filters-cases/bug-660.asm.directives.library.json
index 7f4ca4c29..0c4e371f9 100644
--- a/test/filters-cases/bug-660.asm.directives.library.json
+++ b/test/filters-cases/bug-660.asm.directives.library.json
@@ -457,8 +457,6 @@
   ],
   "labelDefinitions": {
     "$LC0": 2,
-    "$LFB12": 4,
-    "$LVL0": 13,
     "main": 5
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.comments.json b/test/filters-cases/mips5-square.asm.directives.comments.json
index 06d7765f1..cfb2cbee7 100644
--- a/test/filters-cases/mips5-square.asm.directives.comments.json
+++ b/test/filters-cases/mips5-square.asm.directives.comments.json
@@ -163,7 +163,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 2,
     "_Z6squarei": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.json b/test/filters-cases/mips5-square.asm.directives.json
index 06d7765f1..cfb2cbee7 100644
--- a/test/filters-cases/mips5-square.asm.directives.json
+++ b/test/filters-cases/mips5-square.asm.directives.json
@@ -163,7 +163,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 2,
     "_Z6squarei": 3
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.labels.comments.json b/test/filters-cases/mips5-square.asm.directives.labels.comments.json
index b15810dc9..813ce47bf 100644
--- a/test/filters-cases/mips5-square.asm.directives.labels.comments.json
+++ b/test/filters-cases/mips5-square.asm.directives.labels.comments.json
@@ -1,10 +1,5 @@
 {
   "asm": [
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB0 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -113,7 +108,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 1,
-    "_Z6squarei": 2
+    "_Z6squarei": 1
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.labels.comments.library.dontMaskFilenames.json b/test/filters-cases/mips5-square.asm.directives.labels.comments.library.dontMaskFilenames.json
index d8833c9d8..26867d069 100644
--- a/test/filters-cases/mips5-square.asm.directives.labels.comments.library.dontMaskFilenames.json
+++ b/test/filters-cases/mips5-square.asm.directives.labels.comments.library.dontMaskFilenames.json
@@ -1,10 +1,5 @@
 {
   "asm": [
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB0 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -125,7 +120,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 1,
-    "_Z6squarei": 2
+    "_Z6squarei": 1
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.labels.comments.library.json b/test/filters-cases/mips5-square.asm.directives.labels.comments.library.json
index b15810dc9..813ce47bf 100644
--- a/test/filters-cases/mips5-square.asm.directives.labels.comments.library.json
+++ b/test/filters-cases/mips5-square.asm.directives.labels.comments.library.json
@@ -1,10 +1,5 @@
 {
   "asm": [
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB0 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -113,7 +108,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 1,
-    "_Z6squarei": 2
+    "_Z6squarei": 1
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.labels.json b/test/filters-cases/mips5-square.asm.directives.labels.json
index b15810dc9..813ce47bf 100644
--- a/test/filters-cases/mips5-square.asm.directives.labels.json
+++ b/test/filters-cases/mips5-square.asm.directives.labels.json
@@ -1,10 +1,5 @@
 {
   "asm": [
-    {
-      "labels": [],
-      "source": null,
-      "text": "$LFB0 = ."
-    },
     {
       "labels": [],
       "source": null,
@@ -113,7 +108,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 1,
-    "_Z6squarei": 2
+    "_Z6squarei": 1
   }
-}
+}
\ No newline at end of file
diff --git a/test/filters-cases/mips5-square.asm.directives.library.json b/test/filters-cases/mips5-square.asm.directives.library.json
index 06d7765f1..cfb2cbee7 100644
--- a/test/filters-cases/mips5-square.asm.directives.library.json
+++ b/test/filters-cases/mips5-square.asm.directives.library.json
@@ -163,7 +163,6 @@
     }
   ],
   "labelDefinitions": {
-    "$LFB0": 2,
     "_Z6squarei": 3
   }
-}
+}
\ No newline at end of file